Jump to content

SFTP Permissions


HelioHost

Recommended Posts

Some changes have been made to all of the servers to fix the bug that results in all new files being uploaded with 664, and all new directories having 775 permissions. This is an annoyance for users because php especially doesn't like it when files aren't 644. The result of 664 php scripts is a 500 error which can be difficult for inexperienced users to diagnose. The last time we tried to fix this bug it resulted in a lot of other unexpected side effects which were worse than the original issue so since then we've just dealt with it hoping cpanel would eventually fix the issue, but unfortunately the bug still exists even on the latest version. Let us know if you notice anything like SFTP, FTP, file manager, etc. behaving oddly. Hopefully this is the end of the permissions annoyance for good.

  • Like 1
Link to comment
Share on other sites

  • 3 months later...

Perl users may wish to try 755 permissions to avoid 500 Internal Server Error on anything (incl. the directories above it) that needs to be made executable outside cgi-bin e.g. by an .htaccess starting with

Options ExecCGISetHandler cgi-script or AddHandler cgi-script .pl
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...