Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

On AIX 6100-05-02-1034 how can I create custom umask for a specific directory?

share|improve this question
1  
What you ask is not available through traditional umask, for what I know. I have no knowledge of AIX, but I suppose it provides ACL (access control list) with which you probably can play to achieve your aim. –  enzotib Aug 20 '11 at 13:35
add comment

1 Answer

up vote 2 down vote accepted

Umaks on all UNIX based systems that I know of are process specific, not directory specific. You will need to make some fancy hacks to your environment to automaticaly set the umask for the process when changing to your specific directory or play with ACLs for more control.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.