How do I change what the default permissions given to new files in a directory are?
Apache generally has 'umask 22' which is -rw-r--r-- for regular files,
and drwxr-xr-x for directories.
I would like all files created in a particular directory to be 'umask 2' which is
-rw-rw-r-- for regular files, and
drwxrwxr-x for directories.
But I don't want to change 'umask.' I just want to change 'umask' for that one directory.
Anyone know how to do this?
thanks folks! 🆒