0

When I create a folder or upload a file with ftp client and ftp user to my Ubuntu server 20.04 the folders created get permissions 0700 and the files uploaded 0600.
How can I make the folders to get permissions 0755 and the files 0644 automaticly???
Ftp user belongs to www-data group.

1 Answer 1

0

I figured it out. I just had to uncomment local_umask=022 because default local_umask=077. 777 - 22 = 755 and 666 - 22 = 644

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.