Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-24-2003, 11:11 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 9

Rep: Reputation: 0
limiting the size of each directory

the programmer wants to write a script, with this script users will create a directory on the linux server when they post a message using a form.

So, he wants me to put quota on each directory which is created by this script for each user.

For example, 200 user and each of them need to use only 0.1 MB space on disc for each directory.

Could you please give me an idea how I can limit the size of each directory?

Thanks in advance,
Old 07-24-2003, 11:49 AM   #2
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Never tried it but you sounds interesting. As far as I know you can put quota's on a partition basis, not individual folders but as I said never tried it so I wouldn't stand up and court and say that.

If each user is only allowed one folder then I guess you could just limit them to 0.1mb on whatever partition they are created but if they are allowed multiple...hmmm.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
limiting the size of emails that can be sent with sendmail nazzymac Linux - Networking 3 10-30-2003 01:45 PM
Limiting the size of a log file ganninu Linux - General 1 09-18-2003 08:23 AM
Limiting local users to their home directory. beatlelane Linux - Security 4 09-08-2003 12:00 AM
Limiting Access_log Size John Webb Linux - General 2 07-24-2003 07:06 PM
limiting the size of a directory chandan Linux - Newbie 1 06-30-2003 05:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration