cvs commit: hints acl.txt

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Mon Dec 8 21:35:37 PST 2003


tushar      03/12/08 22:35:36

  Modified:    .        acl.txt
  Log:
  Updated: acl
  
  Revision  Changes    Path
  1.6       +27 -11    hints/acl.txt
  
  Index: acl.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/acl.txt,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -u -r1.5 -r1.6
  --- acl.txt	15 Sep 2003 06:02:08 -0000	1.5
  +++ acl.txt	9 Dec 2003 05:35:36 -0000	1.6
  @@ -73,11 +73,14 @@
   
   If you plan to use ACLs with SGI XFS, you need the patches from:
   
  -    ftp://oss.sgi.com/projects/xfs/Release-1.3/kernel-patches/ \
  -        linux-2.4.21-core-xfs-1.3.0.patch.gz
  -    ftp://oss.sgi.com/projects/xfs/Release-1.3/kernel-patches/ \
  -        linux-xfs-1.3.0.patch.gz
  -
  +    ftp://oss.sgi.com/projects/xfs/Release-1.3.1/kernel_patches/ \
  +        linux-2.4.21-core-xfs-1.3.1.patch.gz
  +    ftp://oss.sgi.com/projects/xfs/Release-1.3.1/kernel_patches/ \
  +        linux-xfs-1.3.1.patch.gz
  +
  +It should be noted that as of Dec 8 2003, SGI XFS is integrated with the
  +vanilla Linux kernel.  2.4.24 should come with XFS support when it is released,
  +so the above XFS patches will likely be unnecessary.
   
   You will also need userland libraries and utilities.  Thanks to the recent
   ACL/EA syscall reservations, both XFS and ext2/3 ACLs are served by the same
  @@ -85,8 +88,8 @@
   outdated.  It is recommended that you retrieve the packages from the SGI
   FTP server:
   
  -    ftp://oss.sgi.com/projects/xfs/Release-1.3/cmd_tars/attr-2.4.8.src.tar.gz
  -    ftp://oss.sgi.com/projects/xfs/Release-1.3/cmd_tars/acl-2.2.15.src.tar.gz
  +    ftp://oss.sgi.com/projects/xfs/cmd_tars/attr-2.4.12.src.tar.gz
  +    ftp://oss.sgi.com/projects/xfs/cmd_tars/acl-2.2.21.src.tar.gz
   
   
   You should also compile a version of coreutils that works with ACLs, so that
  @@ -109,7 +112,7 @@
   your new kernel headers to /usr/include/{linux,asm,asm-generic} all over again
   (I hear FHS zealots wailing already).
   
  -For the next bit, compile the attr-2.4.8 libraries:
  +For the next bit, compile the attr-2.4.12 libraries:
   
       # set CFLAGS...
       ./configure --prefix=/usr --enable-shared --enable-static &&
  @@ -120,7 +123,7 @@
       ln -s ../../lib/libattr.so.1.1.0 /usr/lib/libattr.so
   
   
  -Now compile the acl-2.0.11 libraries:
  +Now compile the acl-2.2.21 libraries:
   
       # set CFLAGS...
       ./configure --prefix=/usr --enable-shared --enable-static &&
  @@ -132,8 +135,16 @@
   
   
   At this point, you should immediately be able to examine ACL's on an XFS
  -filesystem using getfacl and setfacl.  ext3 may take further setup; I have no
  -experience with it, so I can't say.
  +filesystem using getfacl and setfacl.
  +
  +In order to enable ACLs on ext2/ext3, you will need to configure certain mount
  +options.  The "user_xattr" option enables user-accessible extended attributes;
  +the "acl" option enables ACL support.  You can either specify these options at
  +every mount (possibly via /etc/fstab) or make these options enabled-by-default
  +on a specific ext2/ext3 filesystem via tune2fs:
  +
  +    tune2fs -o user_xattr /dev/<fs-device>
  +    tune2fs -o acl /dev/<fs-device>
   
   Now you need to patch coreutils.  This is a bit complicated, as the coreutils
   patchset from acl.bestbits.at is a disorganized mess.  I will assume you have
  @@ -171,6 +182,11 @@
   ------------------------------------------------------------------------------
   
   CHANGELOG:
  +[2003-12-08]
  +* Updated with ext2/ext3 instructions (thanks to Daniel Thaler).
  +* Updated to support new SysV-free XFS 1.3.1 release.
  +* Updated to include newer versions of acl and attr.
  +
   [2003-09-06]
   * Updated to support coreutils, linux-2.4.21, and recent new XFS 1.3 release.
   * Rewrote to accommodate new hints format.
  
  
  



More information about the hints mailing list