Hi Dears! Then, I am Migrated my blog of other hosting to Digital Ocean, but when I try to upload via sFTP, I try to copy the WP-CONTENT folder to **/var/www ** presents several errors like this, see example below:
September attrs is / usr: permission denied;
Error: mv / home / wp-content / var / www / wp-content: permission denied etc etc etc
After all how can I solve this? and **what is the default permission ** to **directory ROOT ( / ) **for me this appearing: xxx In short: whats default permission to: file, **directory ** , folder etc? Very very thanks to anyone who can help me.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I have add the user ADMIN in file /etc/sudoers.tmp (SEE BELOW) BUT still when I connect to the ADMIN user looks like this: admin@mydomain:/$ and not user ROOT admin@mydomain:~# What do I solve this? I am grateful to those who help me. Thank you.
User privilege specification
root ALL=(ALL:ALL) ALL **admin ALL=(ALL:ALL) ALL **
Members of the admin group may gain root privileges
**%admin ALL=(ALL) ALL **
Allow members of group sudo to execute any command
**%sudo ALL=(ALL:ALL) ALL **
So: sudo chown -R 755 admin and sudo chmod - R 755 admin
Very thank dear!
Thanks Dear Woet. How make it? can give me an example? I remember when I created the user ADMIN I did it. Thank you.
You should chown it to your sFTP user and chmod it to 755, both recursively.