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
|