[paludis-user] Paludis started messing up permissions

Dirk Heinrichs dirk.heinrichs.ext at nsn.com
Thu May 8 08:36:26 UTC 2008


Am Donnerstag, 8. Mai 2008 schrieb ext Ciaran McCreesh:
> On Thu, 8 May 2008 10:15:58 +0200
>
> Dirk Heinrichs <dirk.heinrichs.ext at nsn.com> wrote:
> > Did it with rxvt, if you don't mind.
> >
> > <>+ [obj] /usr/bin/rxvt-2.7.10
> > <&> [obj] /usr/bin/rxvt
> > <>> [obj] /usr/bin/rclock
> >
> > The permissions of rclock are OK, the ones for rxvt-2.7.10 and rxvt
> > are hosed. Looks like we have hard links here:
> >
> > # ls -l /usr/bin/rxvt*
> > -rw------- 2 root root 5752  8. Mai 10:10 /usr/bin/rxvt
> > -rw------- 2 root root 5752  8. Mai 10:10 /usr/bin/rxvt-2.7.10
>
> Is it only hard-linked files that're broken?

Damn, that would have been to easy, I guess. If I look at files from other 
packages, like texinfo, I see a ref-count of 1. Here is the complete list 
from /usr/bin:

# ls -l /usr/bin|grep "\-rw-------"
-rw------- 1 root  root    162321  7. Mai 14:51 afmtodit
-rw------- 1 root  root      2157  7. Mai 15:26 bf_compact
-rw------- 1 root  root      1235  7. Mai 15:26 bf_copy
-rw------- 1 root  root      1663  7. Mai 15:26 bf_tar
-rw------- 1 root  root      5825  7. Mai 15:26 bogoupgrade
-rw------- 1 root  root      2680  7. Mai 14:51 eqn2graph
-rw------- 1 root  root      7198  7. Mai 14:51 gdiffmk
-rw------- 1 root  root      2431  7. Mai 14:51 grap2graph
-rw------- 1 root  root      7074  7. Mai 14:51 groffer
-rw------- 1 root  root      2471  7. Mai 14:51 grog
-rw------- 1 root  root      1710  7. Mai 14:56 libgnutls-config
-rw------- 1 root  root      1837  7. Mai 14:56 libgnutls-extra-config
-rw------- 1 root  root    264631  7. Mai 14:48 libtool
-rw------- 1 root  root     65047  7. Mai 14:48 libtoolize
-rw------- 1 root  root      2975  7. Mai 14:51 mmroff
-rw------- 1 root  root       271  7. Mai 14:51 neqn
-rw------- 1 root  root      2357  7. Mai 14:51 nroff
-rw------- 1 root  root     17867  7. Mai 14:51 pdfroff
-rw------- 1 root  root       663  7. Mai 14:47 pdftexi2dvi
-rw------- 1 root  root      3018  7. Mai 14:51 pic2graph
-rw------- 2 root  root      5752  8. Mai 10:25 rxvt
-rw------- 2 root  root      5752  8. Mai 10:25 rxvt-2.7.10
-rw------- 1 root  root     49394  7. Mai 14:47 texi2dvi
-rw------- 1 root  root       660  7. Mai 14:47 texi2pdf


> What're the permissions on those files under IMAGE?

Now comes the fun: 755 as they should be.

# pwd
/gentoo/build/x11-terms-rxvt-2.7.10-r4/image/usr/bin
# ll
insgesamt 49
-rwxr-xr-x 1 root root 23120  8. Mai 10:25 rclock*
-rwxr-xr-x 2 root root  5752  8. Mai 10:25 rxvt*
-rwxr-xr-x 2 root root  5752  8. Mai 10:25 rxvt-2.7.10*

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs at capgemini.com
Wanheimerstraße 68      | Web:  http://www.capgemini.com
D-40468 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.exherbo.org/pipermail/paludis-user/attachments/20080508/cf9ed117/attachment.asc>


More information about the paludis-user mailing list