Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


Hi Experts,

I would like to know that is there any way to set UMASK only for one selected directory? UMASK settings are global, but I would like to set UMASK to XYZ folder to be 007. only that folder so if Everyone user were to put a file in XYZ folder, they will rw-rw permission.

Is it possible?


Former Member
Former Member replied

Hi there,

you can set an umask to an folder????? Thats new for me, and i think not possible.

You can chmod the rights of an folder.

Or you can change the "umask" for an specific user.

So the umask is usercontextspecific. It is possible to

set the umask only for a loginsession,

or permanent. If umask set permanent, all files created under this user,

will have these filerights.


Your Problem can be solved with "setfacl" and "getfacl", say Access Control Lists.

There you can tell the Folder, which default rights a file gets, if it will be created there.



Edited by: Manuel Herr on May 14, 2008 8:43 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question