[lkml]   [2001]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 32 Groups Maximum in 2.4
On Nov 15, 2001  14:03 -0500, Jackie Meese wrote:
> Andreas Dilger wrote:
> > On Nov 15, 2001 10:28 -0500, Jackie Meese wrote:
> >>I've been looking for some time on how to raise the maximum number of
> >>groups for the 2.4 kernel. I've discovered how to do this kernel, with
> >>a discussion a few months ago on this
> >>list.
> >
> > Have you considered ACLs instead?
> > Also available for ext3 (I think reiserfs may also support ACLs, not sure).
> > It might not suit your needs, but maybe it does, and it is a better
> > long-term solution.
> The current backup software used for our servers is one big reason for
> writing off ACL fairly quickly. Having to check for compatability on
> other software we use is another reason this was ruled out.

Actually not. If you want to save/restore ACLs, you can easily do
something like the following before each backup:

getfacl -R --skip_base > .acl_backup

and if you need to restore ACLs, you to the reverse after a restore:

setacl --restore=.acl_backup

This puts the ACLs into a regular file that any backup system can handle.

The EA/ACL support will _likely_ be put into 2.5, so it will probably
be easier to use this than to always patch to support > 32 groups,
including all of the user tools, etc (which AFAIK is not anywhere on
the radar to go into the stock kernel, especially since it impacts the
fast-path for _every_ process either by making the tast struct bigger,
or requiring an extra dereference to get at a dynamically-allocated
group list).

Cheers, Andreas
Andreas Dilger

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:18    [W:0.092 / U:28.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site