xfs
[Top] [All Lists]

Re: For when a new stable release?

To: Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Subject: Re: For when a new stable release?
From: Danny Cox <danscox@xxxxxxxxxxxxxx>
Date: Tue, 15 May 2001 14:35:42 -0400
Cc: John Trostel <jtrostel@xxxxxxxxxx>, ML do XFS <linux-xfs@xxxxxxxxxxx>, "Mário Gamito" <mg-listas@xxxxxxxxxxx>
Organization: Connex Inc
References: <Pine.LNX.4.33.0105151212390.11093-100000@UberGeek.coremetrics.com>
Reply-to: dcox@xxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Austin,

Austin Gonyou wrote:
> 
> Here's another example.
> 
> -----begin user test-----
> [austin@UberGeek test]$ chacl u::rwx,g::rwx,o::r-x,u:root:r--,m::rwx
> somefile
> [austin@UberGeek test]$ ls -l
> total 4
> -rwxrwxr-x    1 austin   austin          0 May 15 12:09 somefile
> [austin@UberGeek test]$ chmod 777 somefile
> [austin@UberGeek test]$ ls -l
> total 4
> -rwxrwxrwx    1 austin   austin          0 May 15 12:09 somefile
> [austin@UberGeek test]$ chacl -l somefile
> somefile [u::rwx,g::rwx,o::rwx,u:root:r--,m::rwx]
> [austin@UberGeek test]$ rm somefile
> [austin@UberGeek test]$ ls
> [austin@UberGeek test]$
> -----end user test-----
> 
> What good did that do?

        It did just as you instructed it.

        Under Linux and UNIX, creating/deleting a file is governed by the
permissions on the directory, not the file itself.  This is with or
without ACLs.

-- 
"Men occasionally stumble over the truth, but most of them pick 
themselves up and hurry off as if nothing had happened." 
   -- Winston Churchill 

Danny

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