hi there,
This sort of question really belongs on the ACL mailing list, ie.
acl-devel@xxxxxxxxxxx, now that we're using common userspace code
for ext2, ext3 and XFS (or will be soon for the ext2/3 folks).
Andreas wrote this bit of code/man page ... he would be the best
person to ask. The answer isn't immediately obvious to me - my
first thought was the "d:" prefix isn't allowed, but I see from
the latest man pages that it is now... Andreas?
cheers.
On Wed, Feb 27, 2002 at 02:05:05AM -0700, Jeffrey D. Means wrote:
> [root@trouble www]# setfacl -s
> d:u::rwx,d:g::rx,d:o::---,d:u:scoth:rwx,d:u:meaje:rwx,d:mask:rwx
> paperstreet2
> setfacl: paperstreet2: Resulting ACL `': Missing or wrong entry at entry
> 1
> [root@trouble www]#
>
> I can not set default acls either by explicit command 'setfacl -s' I get
> the above message about being a wrong entry at 1, however if I enter the
> same command specifying the -m instead of -s it works, why??
>
> -------------
> Jeffrey D. Means
> CIO for PicoTech
> Ft. Collins, Colorado
>
On Wed, Feb 27, 2002 at 10:45:22AM -0800, Lawrence Walton wrote:
> Jeffrey D. Means [meaje@xxxxxxxxxxxx] wrote:
> > [root@trouble www]# setfacl -s
> > d:u::rwx,d:g::rx,d:o::---,d:u:scoth:rwx,d:u:meaje:rwx,d:mask:rwx
> > paperstreet2
> > setfacl: paperstreet2: Resulting ACL `': Missing or wrong entry at entry
> > 1
> > [root@trouble www]#
> I don't know why that syntax is different per se, but try this
>
> setfacl -dm u::rwx,g::r-x,o::---,u:scoth:rwx,u:meaje:rwx,m::rwx
>
--
Nathan
|