Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-18-2003, 01:57 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
Quotas by folder

I am running Redhat 8 and samba.
I want to set up quotas for some directories but not others. For instance...

no quota

1 Gig Quota

The problem is that bob would be able to save things to the public folder and his own user dir. If I set quotas by user then won't all the files in both his own share and public add to his quota limit? Is there a way to set quotas by directory instead?

Thanks for your help!
Old 06-18-2003, 02:06 PM   #2
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
you can set group quota on the users group and make all the users who have access to the directory members of that group
Old 06-18-2003, 02:39 PM   #3
LQ Newbie
Registered: Jun 2003
Posts: 2

Original Poster
Rep: Reputation: 0
So I would have to make a group for each user and set the quotas on that group.

i.e. bob is a member of bobgroup
and bobgroup has a disk quota of 1 Gig
bob has access to public
and bobgroup has access to bob's user share

is that what you are say? sorry if I didnt understand, I'm new to this.
Old 07-29-2003, 10:26 AM   #4
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Rep: Reputation: 15
another solution could be repartition your hard disk and mount
/sambaShares/public and
/sambaShares/users on separate partitions and set the user quota of 1GB for bob only for second partition (mounted on /sambaShares/users)


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
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
Cant add folder into my shared folder? amer_58 Linux - Newbie 2 04-03-2005 11:35 AM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM
gnome home folder and trash folder ambelos Linux - Software 2 02-24-2004 06:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:21 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