Results 1 to 2 of 2

Thread: Samba and Disk quotas

  1. #1

    Samba and Disk quotas

    Hi everyone! I am in the process of setting up our new file server to replace Novell. It's RH8 running SMB. I was wondering if there is a way to set quotas on dir instead of partitions. I can do the basic user disk quota stuff but I am looking to make it so every time I add a subdir I can set limits. I also want to be able to hide the actual size of the partition from people. Am I dreaming or is it possible? If so can someone point me to some docs? Thanks.

  2. #2

    Re:Samba and Disk quotas

    Just use 'quotactl' to limit the base directories with a group. I'm assuming you will be making the directories correct? Just alias a command like 'makedir' to run 'makedir && quotactl'.

    As for seing the size of the drive, just change the world settings on 'df' to 0 (-wrx).

Similar Threads

  1. quotas not working
    By Blaqb0x in forum Linux - General Topics
    Replies: 5
    Last Post: 07-02-2003, 07:29 PM
  2. Replies: 0
    Last Post: 01-01-2003, 02:35 AM
  3. disk quotas, i have some problems !!, can anybody help ?
    By marconi8 in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 12-27-2002, 03:36 PM
  4. Is enabling quotas different on Ext3 than Ext2?
    By tolstoy in forum Linux - General Topics
    Replies: 1
    Last Post: 03-19-2002, 03:29 PM
  5. Printing quotas
    By popcorn in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 11-23-2001, 04:31 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts