Re: Solaris 9 - ACL, complete removal
From: Peter C. Tribble (ptribble_at_hgmp.mrc.ac.uk)
Date: 03/10/04
- Next message: Tony Albers: "Re: pkgadd does not find package"
- Previous message: Joerg Schilling: "Re: Solaris 9 - ACL, complete removal"
- In reply to: Gareth Crispin: "Solaris 9 - ACL, complete removal"
- Next in thread: Lukas Neuburger: "Re: Solaris 9 - ACL, complete removal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 10 Mar 2004 15:52:00 +0000 (UTC)
In article <SWE3c.7793$zu.7221@newsfe1-win>,
"Gareth Crispin" <gareth.crispin@ntlworld.com> writes:
> Group,
>
> I'm currently studying for the CX-310-014 exam, with touches upon the topic
> of Access Control Lists.
>
> I can effectively set, view and modify ACL's (getfacl setacl), but once I'm
> finished I can't remove them completely, so that standard Unix file
> permissions take precedence again. How do I do this?
Use setfacl to replace the entire ACL with one that only contains the
regular permission bits. For example:
/bin/getfacl $file | /bin/egrep '^(user::|group::|mask:|other:)' | /bin/setfacl -f - $file
(although that might leave if with an ACL if the mask was nonstandard).
-- -Peter Tribble MRC Rosalind Franklin Centre for Genomics Research http://www.rfcgr.mrc.ac.uk/~ptribble/
- Next message: Tony Albers: "Re: pkgadd does not find package"
- Previous message: Joerg Schilling: "Re: Solaris 9 - ACL, complete removal"
- In reply to: Gareth Crispin: "Solaris 9 - ACL, complete removal"
- Next in thread: Lukas Neuburger: "Re: Solaris 9 - ACL, complete removal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|