LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   acl customisation (https://www.linuxquestions.org/questions/linux-general-1/acl-customisation-832557/)

guna_pmk 09-16-2010 06:55 AM

acl customisation
 
Hello,

I am wondering how to set the default mask for files created in a directory with default acl permissions. For example I have a directory called foo and set its permissions as follows:

setfacl -d -m user:somebody:rx,mask::rx foo

Now when I create a file in the foo directory, it must be automatically executable by 'somebody'. For example when I do

touch foo/bar

bar should be able to be executable by 'somebody'. How can I do that?

Thanks in advance.


All times are GMT -5. The time now is 03:39 AM.