Richard Elling <richard.ell...@gmail.com> wrote:

> >>> Helpdesk$ pfexec chmod -fR a+rw /home/alice/proj1
> >>>
> >>> Alice$ rm /etc/shadow
> >>> Alice$ cp myshadow /etc
> >>> Alice$ su -
> >>> root#
> > One could achieve the same result with a request to chmod a+rw
> > /etc/shadow, but this would be more noticeable.
> >
> > One of my friends ran into this problem while trying to set an ACL on
> > his data files: chmod followed symlinks that he had created to his
> > home directory and config files in /etc, and broke his whole install.
>
> A normal user cannot chmod in /etc. So he was really running as
> root, no? As root or a sufficiently privileged user, there are many
> things that you need to be aware of. Again, I use find to do the
> right thing and keep a record of the activity -- see the -mount, -user,
> and -type options.

Do you believe that root should not get help that allows to easily 
prevent problems from hitting symlinks?


Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to