Re: chmod/chown -R - maybe an ITP
Wichert Akkerman <wichert@cistron.nl> writes:
> > Can't you do this with find and xargs? Or are you looking for something =
> more
> > sophisticated?..
>
> Simple idea: use a modified chown that only does a chown of the
> linkcount of a file is 1 to prevent people from doing this.
>
> Personally I like to just disable hardlinking to files from other
> uids (except for root) in the kernel to prevent this from happening
> in the first place.
Or just make all user-writable areas separate filesystems. /tmp and
/home at least should generally be separate partitions anyways.
--
Colin Walters <levanti@verbum.org>
http://web.verbum.org/levanti
(1024D/C207843A) A580 5AA1 0887 2032 7EFB 19F4 9776 6282 C207 843A
Reply to: