Why Tea <
ytl...@gmail.com> wrote:
> 1) Is it possible to prevent root from reading
> a file? (Tried "chmod 000" and it didn't work)
For a local filesystem: no
The attributes are just for "normal users", there is no "root" in there.
For a NFS mounted fs with "root_squash" (default), root is just the
"anonymous" user on that, so without "read for others" it cannot read
ANY file mounted through NFS.
> 2) Is there a way to create file/directory
> violation by root like in Windows?
I've NO idea what you're talking about, but again: on local fs'es
root can do EVERYTHING on all files and directories as there are
no special attributes FOR root. Unlike windows "administrator",
root is not a normal user with "extra rights", but the SUPERuser,
allowed to do everything.
With ACL's you can add extra access rights to a file but as far as
I know NOT remove any rights for root.
--
******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail:
E.J.M....@tudelft.nl - phone: +31-15-27 82525 **
******************************************************************