Previously Daniel Burrows wrote: > 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. Wichert. -- ________________________________________________________________ / Generally uninteresting signature - ignore at your convenience \ | wichert@liacs.nl http://www.liacs.nl/~wichert/ | | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Attachment:
pgpa1qvNz1Hzn.pgp
Description: PGP signature