Re: QUOTA [with patch this time]

Greg Alexander (galexand@sietch.bloomington.in.us)
Sat, 14 Dec 1996 11:40:58 -0500 (EST)


On Sat, 14 Dec 1996, Harald Koenig wrote:

> > Ok, I decided to jump into the source and actually make a patch.
> > This (should) only let the owner hardlink a file IFF the file resides
> > on a filesystem with disk quotas.
>
> while I really appreciate that any real work is shown in this thread
> I still think it's the wrong place for a "fix" since it's not only
> a quota problem.
>
> this still won't fix
>
> - disk usage accounting
> - bypassing access permission of directories by having a link in another ditrectory branch
> - possible security holes for broken SUID programs (not the most important
> reason but it will get fixed if you're working on the first two problems...)
>
> as they are completely unrelated to quotas. and "enabling quotas" can't
> be the correct answer to fix the above problems IMHO

How 'bout make it a generic mount time thingy, non-default, for each admin
to decide for him/herself. Having it set by default for quota systems
could be done, though I'm not sure I see the point, it should just be
referenced in the quota man page.

Greg Alexander
http://www.cia-g.com/~sietch/