Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

SHH Directory permission

Nov 28, 2013 by GeekNew
Good morning all
I have a directory with folders, subfolders and files. I want to add permissions to this full directory(with all its folders, subfolders and files). I want to do this using SHH. I tried this
chmod -R 775 /home/user/public_html/mydirectory
But it didn’t work because I tried transferring files to the directory using FTP but I wasn’t able to due to permission issues. This is the error message I get " 553 you donot have permission to upload"

Can anyone please help?

2 Answers

0 votes
Nov 28, 2013 by tareq101
The default 755 permissions should work and you don’t need to add the 755. This might be a problem with the files ownership. Try updating the correct ownership for all the folders and files and folder and then try uploading the files.
0 votes
Nov 28, 2013 by SmartHost
If you have suhosin, try changing the permissions of your folder to 750.