On Wed, 22 Mar 2000, Satya wrote:
> On Mar 22, 2000 at 16:44, Philip S Tellis wrote:
>
> >On Wed, 22 Mar 2000, Satya wrote:
> >} On Mar 22, 2000 at 12:11, [EMAIL PROTECTED] wrote:
> >} >How do i restrict maximum size of a file for a particular users on Linux
> >} quota(8)
> >
> >AFAIK quota only restricts the number of files and the total size of all
> >files. It cannot restrict the max size of a single file.
>
> Ah, well. Be a BOFH about it and say that if the luser (not Debasis,
> he's the BOFH here) wants to fill it's quota with a single large file,
> that's the luser's problem. The BOFH is going home early.
>
> See VSNL's accounting for an example of this implementation.
Well, from the original post, what I understood was that he wanted to
restrict the size of individual files. If he just wants to restrict the
disk usage of his users then he should have said that.
BTW, I still have vsnl's student shell account - with 500KB disk space.
What I find amazing is that if Lynx core dumps (and it's been doing so for
years) my total size exceeds 500K - no complaints until I try to exceed it
(even starting pine will shout cause of the rc file that needs to be
written). However, downloading a file that exceeds my quota is a problem.
There are various ways to increase your quota a bit (upto 70K) though.
For one, clear up the pine-debug files. Also you history file, and some
others.
Sorry that most of this is off the original topic.
Philip
--
Without freedom of choice there is no creativity.
-- Kirk, "The return of the Archons", stardate 3157.4
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener