Answer the question
In order to leave comments, you need to log in
Why doesn't umask work?
There is a www directory
It has a lot of subfolders I install it
on www or even on some subfolder
umask 0022
I upload a file, I get permissions
600
Why?
Or how to make all newly created / uploaded folders have 755 and files 644?
Answer the question
In order to leave comments, you need to log in
The command umask
allows you to override the mask within the current session.
umask can be set, for example, in ~/.profile
and ~/.bashrc
Look in the config for the ability to configure umask
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question