I have a requirement to apply a default permission to files transferred into a specific folder in Unix. I did a look up on internet and found two ways. However, I can't use them for the reason mentioned:
1. umask
This command can only be used in user login level by mentioning it
in .bashrc / .profile file. Won't work for me because I want the
permissions to be applied regardless of the logged in user, and only
to a specific folder.
enter code here
2. setfacl
This command can only be used when the drive on which the folder is
located, is mounted with file access listing enabled. This won't for
me because I can't involve Unix system admins in this activity at my
workplace.
Please suggest if there's an alternate (and possibly a simple) way to achieve the solution for my requirement.