Jump to content

Recommended Posts

Posted

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...

Posted

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?

Posted

I realize I can change it but I don't want to for every file I upload.

 

I just added a new file and it was 664, not 644.

Posted

Yeah, I had to remove the permission mask because no one could connect to SFTP anymore with it in place. Which would you rather have? Access to SFTP at all or have to right click and change all permissions once?

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...