On Mon, 18 Jul 2005, Oren Held wrote:

> Hi,
>
> We're trying to set quota per directory in my organization.
> We use Linux & Solaris, and the builtin-kernel quota feature is only per
> file owner or amount of inodes, afaik.

indeed so.

> Problem is, that some directories are shared for many people
> (i.e. /data/projects/webapp) with different UIDs and GIDs, though I
> still want to be able to limit the 'webapp' directory to a maximal value
> of 1GB.
>
> Anybody knows a free or commercial tool with the above feature, or a
> simple way to implement it?

someone once wrote a patch to support tree quotas, in kernel 2.4.13, for
ext2 file-system only.

if you google, you'll see there are commercials products to handle this
for.... windows ;)

some work arounds - put the directories you want to limit on seperate
file-systems. try to use LVM to manage that, in order to make oyur life
simpler.

for "advisory" quota handling - use the "group quotas + sgid directories"
tricks people talk about in some places.

note: i don't know anything about this - i just got curious and performed
a google search. did you?

--
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to