If your primary objective is to control disk space allocation/usage,
consider setting "tree" quotas on the top level Qtree and not be
concerned with a user or group who accesses the data within the qtree.
This might be a simpler solution.
Paul M. Brubaker, Jr.
RIDS - Intel System Support
AT&T Wireless - Harrisburg PA
e-mail: paul.brubaker(a)attws.com
office #: 717-526-5011
cell #: 717-578-2254
-----Original Message-----
From: owner-toasters(a)mathworks.com [mailto:owner-toasters@mathworks.com]
On Behalf Of Steve Losen
Sent: Thursday, September 23, 2004 8:15 AM
To: Mike Langas; toasters(a)mathworks.com
Subject: Re: group quotas with LDAP
> I'm trying to set up group quotas on a qtree. I'm trying to use unix
> groups that are stored on an ldap server to control who is in each
> group. Has anyone done this before? Are there any tools available to
> help me determine that LDAP is set up correctly?
Are you sure that group quotas are what you want? They may not work
like you hope that they do.
In particular, a group quota does not limit the total disk space
consumed by all the users who are members of the group.
Each file and directory on a filer has a group attribute. When using
Unix style permissions, a file's group is a group id number (GID), which
corresponds to the third field in a Unix /etc/group file. You can use
the unix command 'ls -l filename' to see what group a file has.
A group quota simply limits the total size of all files that have that
particular group attribute. It has nothing to do with the owner of the
files.
I don't think that group quotas are particularly useful because users
are often members of multiple groups and therefore they can create files
with different group attributes. If user X is a member of group A and
group B, then X can create a file and set its group to A and that file
counts against the group quota for A. But X could create another file
and set its group to B and that file counts against the group quota for
B. Of course both files count against the user quota for X.
Steve Losen scl(a)virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support