Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Permission denied Permission denied amberbaby
I copied a dir from one user to another logged in as root in SSH. Now I get a "Permission denied" message when I ftp in that new dir. How do I set new permissions for that dir? what are the command lines?
Log back in as root, and enter
chown -R someuser.somegroup /yourfolder
That will set the ownership for yourfolder and all files in it to the user you choose.
does /yourfolder have to be the full path from root? what is "somegroup"? eg.administrator? sugarkane
> full path from root
That will work, or you can use a relative path from wherever you are.
That's just an example group ;)
You should set the group to be the same as for the other files owned by that user - what exactly this is will depend on how your server is set up.