non-superuser chown(2)s considered harmful
Dave Smythe
dsmythe at netcom.UUCP
Thu Dec 13 18:31:30 AEST 1990
In article <1990Dec12.052114.2694 at athena.mit.edu> jfc at athena.mit.edu (John F Carr) writes:
>In article <1990Dec10.231812.23634 at gjetor.geac.COM>
> adeboer at gjetor.geac.COM (Anthony DeBoer) writes:
>
>>Just for my $0.02 worth, if quotas are in effect, why not have a nightly
>>daemon that goes through each user's directory and blows away anything he/she
>>doesn't own? This should take care of out-chowning files to bypass
>>allocation.
>
>It is much more polite to chown the files to the owner of the directory,
Suppose there are multiple links to the file; who gets to own it? The last
person visited by your chown'ing utility? Or do you only chown files with
only a single link?
D
--
Dave Smythe
netcom!dsmythe at apple.com N6XLP (also dsmythe at portia.stanford.edu)
More information about the Comp.unix.internals
mailing list