Jump to content

Unwanted Default File Permissions


robev

Recommended Posts

My site is on Tommy. I'm using filezilla to upload files, and their default file permissions is 664. As a result I'm getting a 500 error that my files are writeable by group.

 

How do i make files uploaded have permission level 644? I've read it's a server thing...

Link to comment
Share on other sites

You can change permissions of files by right clicking the file on the server and going to File permissions. You can change the permissions of a directory the same way, but it also has an option to recursively change all the permissions within the directory too.

 

Do your files upload by default in 644 now?

Link to comment
Share on other sites

Don't know exactly. I changed it and everything worked, and files uploaded at 644 correctly. Then I updated some software on Tommy and I think openssh was updated, and then SFTP stopped working for anyone without shell access, but as soon as I reverted my permissions mask edit in the configuration file everyone without shell access can connect again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...