Menu

combine user and group quotas

Help
gurise
2006-01-25
2013-03-26
  • gurise

    gurise - 2006-01-25

    Hi all.

    I need some help with this scenario: my file server exports the home dirs of 20 users, and three additional dirs (MARQUETING, ADMIN and IT) that can only be acessed by the users that belong to the correspondig groups. All this dirs are located in the same filesystem.

    I set a disk quota of 1Gb per user, and 5Gb for each of the groups. When user john, who belongs to the group marqueting, reaches his 1Gb limit in his home dir, he is also unable to write in the shared folder of his group, since he has reached his quota limit for this filesystem. The desired situation would be user john being unable to use more space in his home dir, but still being able to write in the group directory.

    I could move the three dirs of the groups to another filesystem and set the group quotas there, but i wonder if there is any way around this with the current configuration.

    Thanks in advance,
    David

     
    • Jan Kara

      Jan Kara - 2006-01-25

      As far as I know this is currently impossible. When a user creates a file, it will be always accounted to his quota so when the user runs out of his quota, he is not able to create more files. Groups are just additional restriction to this... So another filesystem is the only solution for you.

       
      • gurise

        gurise - 2006-01-26

        ok, thanks for your response.

        David

         

Log in to post a comment.

MongoDB Logo MongoDB