Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182157 - portage 2.1.3_rc1 sets permissions of /usr/lib64 to 0000 during --clean
Summary: portage 2.1.3_rc1 sets permissions of /usr/lib64 to 0000 during --clean
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
: 182179 (view as bug list)
Depends on:
Blocks: 181949 187293
  Show dependency tree
Reported: 2007-06-15 16:42 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-06-16 00:22 UTC (History)
1 user (show)

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

protect symlinks to directories and don't chmod 0 symlinks before unlink (symlinks.patch,1.25 KB, patch)
2007-06-15 21:14 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-15 16:42:07 UTC
After any --clean in my system I seem to get /usr/lib64 set to 0000 permission, plus I lose the /usr/lib symlink.

Portage 2.1.3_rc1 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6-r0, 2.6.21-gentoo-r3 x86_64)
System uname: 2.6.21-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 15 Jun 2007 08:30:10 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.20_alpha2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=athlon64 -O2 -ftracer -pipe -ftree-vectorize -Wformat=2 -Wno-error -Wno-pointer-sign -g -ggdb -Wstrict-aliasing=2 -Wno-format-zero-length"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -ftracer -pipe -ftree-vectorize -Wno-error -Wformat=2 -g -ggdb -Wstrict-aliasing=2 -fvisibility-inlines-hidden"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=n --deep"
FEATURES="autoaddcvs autoconfig collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms sign splitdebug unmerge-orphans userpriv usersandbox"
INSTALL_MASK="  /usr/share/emacs/*/lisp/erc     /usr/share/emacs/*/lisp/play"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en it"
MAKEOPTS="-j1 -s"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTDIR_OVERLAY="/var/portage/overlays/cross /media/repos/flame/flame-overlay /var/portage/overlays/lives /var/portage/overlays/kde-color-schemes /var/portage/overlays/gentopia /var/portage/overlays/emacs /var/portage/overlays/java-experimental /var/portage/overlays/jokey"
USE="3dnow 3dnowex 3dnowext S3TC a52 aac acl acpi4linux alsa amd64 apm audiofile avi bitmap-fonts bzip2 bzlib cdda cddb cdio cdr cjk cli crypt css cups dlloader dnd dpms dri dts dvd dvdr dvdread emacs emboss fame ffmpeg flac foomaticdb gif gnutls gpgme gphoto2 gtk2 idn ieee1394 imlib imlib2 ipv6 isdnlog ithreads joystick jpeg kde kdehiddenvisibility latex libg++ lm_sensors lx700 lzw lzw-tiff maildir matroska mmap mmx mmx2 mmxext mng mozsvg mp3 mpeg mpeg4 mpm-threadpool mudflap native network-cron nls no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nodrm nojdepend nojsch nojython nolog4j nomotif nooro noregexp norhino noxalan noxerces nptl nptlonly ogg oggvorbis openmp openntpd pam pch pdf pdflib pic pmount png ppds pppd qemu-fast qt qt3 reflection rtc session snmp speex spell spl sse sse2 ssl stencil-buffer subversion svg svgz sysfs syslog tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev uncompressed-sounds unicode usb userlocales utf8 v4l v4l2 vhosts vorbis wxwindows x11vnc xcb xinerama xorg xpm xv xvid zlib zvbi" ALSA_CARDS="via82xx bt87x" ALSA_PCM_PLUGINS="iec958 plug ioplug hooks empty route" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" LIRC_DEVICES="kworld" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon"
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-15 19:32:34 UTC
Seems to be fixed in rc2 even if changelog does not note it.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-15 19:56:53 UTC
No, still present, just not with every unmerge.
Comment 3 Zac Medico gentoo-dev 2007-06-15 21:14:20 UTC
Created attachment 122192 [details, diff]
protect symlinks to directories and don't chmod 0 symlinks before unlink

I've removed _rc2 from the tree since this bug is still present.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-06-15 21:54:36 UTC
*** Bug 182179 has been marked as a duplicate of this bug. ***
Comment 5 Zac Medico gentoo-dev 2007-06-16 00:22:34 UTC
This has been released in 2.1.3_rc3.