mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: Jackie Meese <jackie.m@vt.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 32 Groups Maximum in 2.4
Date: Thu, 15 Nov 2001 13:34:16 -0700	[thread overview]
Message-ID: <20011115133416.O5739@lynx.no> (raw)
In-Reply-To: <3BF3DF31.4010707@vt.edu> <20011115113953.H5739@lynx.no> <3BF41165.4090206@vt.edu>
In-Reply-To: <3BF41165.4090206@vt.edu>; from jackie.m@vt.edu on Thu, Nov 15, 2001 at 02:03:01PM -0500

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.http://www.cs.helsinki.fi/linux/linux-kernel/2001-13/0807.html
> > 
> > Have you considered ACLs instead?  http://acl.bestbits.at/
> > 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
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/


      parent reply	other threads:[~2001-11-15 20:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-15 15:28 Jackie Meese
2001-11-15 15:41 ` Tommy Reynolds
2001-11-15 16:22   ` Tim Hockin
2001-11-15 18:39 ` Andreas Dilger
2001-11-15 19:03   ` Jackie Meese
2001-11-15 18:55     ` Tim Hockin
2001-11-15 20:34     ` Andreas Dilger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011115133416.O5739@lynx.no \
    --to=adilger@turbolabs.com \
    --cc=jackie.m@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®