xfs
[Top] [All Lists]

Re: why does this not work??

To: "Jeffrey D. Means" <meaje@xxxxxxxxxxxx>, Lawrence Walton <lawrence@xxxxxxxxxxxxxxxxxxxx>, Andreas Gruenbacher <ag@xxxxxxxxxxx>
Subject: Re: why does this not work??
From: Nathan Scott <nathans@xxxxxxx>
Date: Thu, 28 Feb 2002 12:03:05 +1100
Cc: acl-devel@xxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <006701c1bf6d$dbdc8f90$0264a8c0@jeffw>; from meaje@picotech.net on Wed, Feb 27, 2002 at 02:05:05AM -0700
References: <006701c1bf6d$dbdc8f90$0264a8c0@jeffw>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
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


<Prev in Thread] Current Thread [Next in Thread>