Re: Idea: flink() and anon_open()

Roger Espel Llima (espel@llaic.u-clermont1.fr)
Tue, 10 Mar 1998 13:09:55 +0100


Albert D. Cahalan writes:

(about flink/fattach)

> According to the Digital Unix man page, there is some odd
> behavior with the UID (why?), but it also says:
> Note that although the attributes of the attached file may
> change (see the chmod() reference page), the underlying
> object's attributes will not change accordingly.
>
> Of course, creating a link to something you don't own is a great
> way to abuse the quota system. Just like chown(), it should not
> be allowed. (at the very least we could require write access to
> the object itself!)

You can also "abuse" the quota system with hardlinks, for that matter:
hardlink someone's big files in a directory of yours. Doing it with
flink wouldn't make it any worse than doing it with link...

-- 
Roger Espel Llima
espel@llaic.u-clermont1.fr
http://www.eleves.ens.fr:8080/home/espel/index.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu