Jump to content


Photo

SFTP Permissions


  • This topic is locked This topic is locked
1 reply to this topic

#1 HelioHost

HelioHost

    Announcements

  • Moderators
  • 5,192 posts
  • Gender:Not Telling

Posted 16 February 2019 - 11:35 PM

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.
This is an unmonitored account for announcements only.
Wiki | Facebook | Twitter
Posted ImagePosted ImagePosted Image
Posted ImagePosted ImagePosted Image

#2 milano

milano

    Newbie

  • Members
  • 4 posts
  • Gender:Male

Posted 02 June 2019 - 10:21 PM

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 ExecCGI
SetHandler cgi-script or AddHandler cgi-script .pl





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users