LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-18-2003, 02:57 PM   #1
sucellus
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...

/sambaShares/public
no quota

/sambaShares/users/bob
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, 03:06 PM   #2
manthram
Member
 
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, 03:39 PM   #3
sucellus
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, 11:26 AM   #4
deepika
Member
 
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)
 
  


Reply


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


All times are GMT -5. The time now is 12:05 PM.

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