Default ACL question (EXECUTE BIT)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello everyone,

I'm doing some tests with ACL's and even though I can create a "default" ACL 
for a directory (that includes "rwx" for the default owner), when I finally 
create a file wihin that directory the execute bit is chopped off:

[joe@machine ~]$ mkdir mydir
[joe@machine ~]$ setfacl -d -m u::rwx,g::-,o::- mydir/

[joe@machine ~]$ cd mydir
[joe@machine mydir]$ touch testFile.txt
[joe@machine mydir]$ ls -l testFile.txt 

-rw------- 1 joe joe 0 Oct 29 21:14 testFile.txt

I don't think umask is involved here.  As far as I know umask isn't  involved 
when dealing with default ACL's.  Anyhow, I'm pretty sure this is by design 
(security-wise). Is there any way to override this behaviour?

Thanks,
Jorge
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux