Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18151 - coreutils acl support
Summary: coreutils acl support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 08:27 UTC by Andrei Ivanov
Modified: 2003-10-01 16:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
coreutils-5 with acl/ea (coreutils-5.0-r2.ebuild,2.76 KB, text/plain)
2003-08-03 07:50 UTC, Marcin Wisnicki
Details
coreutils-5 with acl/ea (coreutils-5.0-r2.ebuild,2.76 KB, text/plain)
2003-08-03 07:51 UTC, Marcin Wisnicki
Details
coreutils-5.0-r3.ebuild (coreutils-5.0-r3.ebuild,3.07 KB, text/plain)
2003-08-29 09:36 UTC, Marcin Wisnicki
Details
coreutils-progress-bar-with-acl.patch (coreutils-progress-bar-with-acl.patch,12.40 KB, patch)
2003-08-29 09:43 UTC, Marcin Wisnicki
Details | Diff
coreutils-gentoo-1.6.tar.bz2 (coreutils-gentoo-1.6.tar.bz2,16.41 KB, application/octet-stream)
2003-09-13 10:56 UTC, Marcin Wisnicki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Ivanov 2003-03-25 08:27:24 UTC
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.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-25 18:57:28 UTC
try coreutils please?
Comment 2 Andrei Ivanov 2003-03-26 02:25:46 UTC
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 ?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-26 03:00:53 UTC
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.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-29 07:35:14 UTC
well, did coreutils have it?
Comment 5 Andrei Ivanov 2003-03-29 08:14:17 UTC
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... 
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-04 01:00:27 UTC
I found some patches -- will add
Comment 7 Marcin Wisnicki 2003-08-03 07:50:51 UTC
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.
Comment 8 Marcin Wisnicki 2003-08-03 07:51:43 UTC
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.
Comment 9 Marcin Wisnicki 2003-08-03 07:54:09 UTC
Sorry for double posting, I've had some problems with bugzilla
Comment 10 Frido Ferdinand 2003-08-19 07:48:21 UTC
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
Comment 11 Marcin Wisnicki 2003-08-29 09:36:26 UTC
Created attachment 16770 [details]
coreutils-5.0-r3.ebuild

Revision 3 with support for acl.
ACL is disabled if selinux is in USE.
Comment 12 Marcin Wisnicki 2003-08-29 09:43:36 UTC
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 ;)
Comment 13 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-12 04:36:44 UTC
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.
Comment 14 Andrei Ivanov 2003-09-13 03:22:27 UTC
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"
Comment 15 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-13 06:24:54 UTC
reopening
Comment 16 Marcin Wisnicki 2003-09-13 10:56:24 UTC
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)
Comment 17 Andrei Ivanov 2003-09-15 06:59:19 UTC
coreutils-5.0-r4 now installed fine. Thanks you...
Comment 18 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-01 16:13:40 UTC
az put 5.0.91 into portage without the i18n patches.