I use acls on my filesystems and I wanted to use fileutils with acl support, and I saw in the ebuild of fileutils-4.1.11-r1 that it should support them, but if I do a 'ls' on a file or a directory with acls, it doesn't list it with a + after the permissions. I tried fileutils-4.1.8-r2 and they seem to do the right thing.
try coreutils please?
Hmm.. how does gentoo deals with coreutils coexisting with fileutils, shellutils and textutils ? If I uninstall coreutils, will I have to install fileutils, shellutils and textutils again ?
well, with the next version of portage, file,text and sh-utils will all be "moved" to coreutils as it will provide all of them. So there will be no co-existing, just coreutils.. if you decide (for right now) that you don't want coreutils, then FIRST emerge file, text and sh-utils, THEN unmerge coreutils.
well, did coreutils have it?
No.. coreutils doesn't seem to have acl support. ls -al doesn't show a + sign and cp doesn't preserve acls. fileutils-4.1.8-r2 work...
I found some patches -- will add
Created attachment 15436 [details] coreutils-5 with acl/ea This ebuild adds patches from http://acl.bestbits.at/download.html#Fileutils I have tested it and it seems to work properly with acl's an ea's.
Created attachment 15437 [details] coreutils-5 with acl/ea This ebuild adds patches from http://acl.bestbits.at/download.html#Fileutils I have tested it and it seems to work properly with acl's an ea's.
Sorry for double posting, I've had some problems with bugzilla
Informational: I've used the acl.bestbits patchset for EA/ACL (own ebuild, not the attached one, but it's the same thing). Currently the ext3 filesystem is running fine on light use with ACLs for protecting apache docroots. I'll try using it on a busier server in the near future. Would be good to add this as an option in ~x86
Created attachment 16770 [details] coreutils-5.0-r3.ebuild Revision 3 with support for acl. ACL is disabled if selinux is in USE.
Created attachment 16772 [details, diff] coreutils-progress-bar-with-acl.patch Progress bar patch altered to be compatible with acl. Intended for use with above ebuild. Modifying conflicting acl patch is the proper way to handle this, but that would mean a litte more work ;)
coreutils-5.0-r4 now has ACL support finally. Many apologies for the delay. Also, I am looking at coreutils-5.0.91 to be added into ~arch soon, but the acl patches will need adjustment.
make[3]: Entering directory `/var/tmp/portage/coreutils-5.0-r4/work/coreutils-5.0/lib' if gcc -DLIBDIR=\"/usr/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse -MT acl.o -MD -MP -MF ".deps/acl.Tpo" \ -c -o acl.o `test -f 'acl.c' || echo './'`acl.c; \ then mv -f ".deps/acl.Tpo" ".deps/acl.Po"; \ else rm -f ".deps/acl.Tpo"; exit 1; \ fi if gcc -DLIBDIR=\"/usr/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse -MT getdate.o -MD -MP -MF ".deps/getdate.Tpo" \ -c -o getdate.o `test -f 'getdate.c' || echo './'`getdate.c; \ then mv -f ".deps/getdate.Tpo" ".deps/getdate.Po"; \ else rm -f ".deps/getdate.Tpo"; exit 1; \ fi acl.c: In function `copy_acl': acl.c:103: error: `NULL' undeclared (first use in this function) acl.c:103: error: (Each undeclared identifier is reported only once acl.c:103: error: for each function it appears in.) make[3]: *** [acl.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/coreutils-5.0-r4/work/coreutils-5.0/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/coreutils-5.0-r4/work/coreutils-5.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/coreutils-5.0-r4/work/coreutils-5.0' make: *** [all] Error 2 !!! ERROR: sys-apps/coreutils-5.0-r4 failed. !!! Function src_compile, Line 78, Exitcode 2 !!! (no error message) Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r1) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine) ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.linux.no ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss avi crypt cups encode gif jpeg libg++ mad mmx mpeg ncurses pdflib png quicktime spell truetype xml2 zlib gtkhtml gdbm berkdb slang readline tetex aalib bonobo java guile sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis -3dnow acl acpi -alsa -apm -arts curl -esd -foomaticdb gd -gtk -gnome imap innodb -kde lcms -ldap maildir -mikmod -motif -mysql -nls pic -postgres -qt -odbc -opengl samba -svga sse -tcltk tiff wmf xml -X -xv -xmms"
reopening
Created attachment 17641 [details] coreutils-gentoo-1.6.tar.bz2 Adjusted for coreutils-5.0.91 * there is a single progress-bar patch for use with or without acl * no i18n/multibyte character patch (needs some work)
coreutils-5.0-r4 now installed fine. Thanks you...
az put 5.0.91 into portage without the i18n patches.