Re: Default ACL question (EXECUTE BIT)

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



On Thursday 29 October 2009 10:32:30 pm nate wrote:
> It's been eons since I played with acls, but I thought you can
> only view acls via getfacl(or other similar commands) ls -l doesn't
> do anything to show acls, only unix-style permissions.

Hello nate,

Yes, I use getfacl to see the ACLs but in this case I used a "default ACL" 
that sets "regular permissions" on new files and thus any new file won't have 
actually an ACL. In my case, the new file looks like:

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

If It had any ACL on it... a plus sign would appear at the end of the 
permission bits, like this:

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

Best regards,
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