I'm using FileZilla FTP client, and when I upload new files to the server it's creating directories with 775 permissions and files with 664 by default.

Is there a way I can change either the FileZilla configuration or something on the server to ensure new directories are always created with 755 and 644 respectively?

Server is Ubuntu 14.04


Set the parent directory's permission to what you want it to be, then configure the umask for when users create new files. You should have a good use case as to why you would want those permissions, though..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.