Gentoo Archives: gentoo-user

From: Alexander Puchmayr <alexander.puchmayr@×××××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Chmod Failed
Date: Thu, 26 Dec 2013 19:18:42
Message-Id: 3815919.CXNPS2axOP@zeus
In Reply to: Re: [gentoo-user] Chmod Failed by Silvio Siefke
1 On Mittwoch, 25. Dezember 2013, 12:37:27 Silvio Siefke wrote:
2 > Hello,
3 >
4 > On Wed, 25 Dec 2013 11:49:53 +0400
5 >
6 > the <the.guard@××××.ru> wrote:
7 > > ls -al would be helpful
8 >
9 > ks3374456 tmp # ls -la
10 > insgesamt 12
11 > drwxrwxrwt 3 root root 4096 25. Dez 05:49 .
12 > drwxr-xr-x 9 root root 4096 10. Dez 07:47 ..
13 > -rw-r--r-- 1 root root 0 10. Dez 07:47 .keep
14 > drwsr-x--- 3 portage portage 4096 25. Dez 05:51 portage
15 >
16 > /mnt/gentoo/i686/var/tmp/portage/sys-apps/dbus-1.6.12/image
17 > ks3374456 image # ls -la
18 > insgesamt 20
19 > drwxr-xr-x 5 root root 4096 25. Dez 05:51 .
20 > drwxrwxr-x 8 portage portage 4096 25. Dez 05:51 ..
21 > drwxr-xr-x 5 root root 4096 25. Dez 05:51 etc
22 > drwxr-xr-x 7 root root 4096 25. Dez 05:51 usr
23 > drwxr-xr-x 4 root root 4096 25. Dez 05:51 var
24 >
25 > ks3374456 dbus-1.6.12 # ls -la image/usr/libexec/
26 > insgesamt 396
27 > drwxr-xr-x 2 root root 4096 25. Dez 05:51 .
28 > drwxr-xr-x 7 root root 4096 25. Dez 05:51 ..
29 > -rwsr-x--- 1 root messagebus 396834 25. Dez 05:51 dbus-daemon-launch-helper
30 >
31 > ks3374456 dbus-1.6.12 # chmod 4750
32 > image/usr/libexec/dbus-daemon-launch-helper chmod: Beim Setzen der
33 > Zugriffsrechte für „image/usr/libexec/dbus-daemon-launch-helper“: Keine
34 > Berechtigung
35 >
36 >
37
38 Which users are involved?
39 I assume you are emerging as root, and you have been doing you manual
40 modification as root as well.
41
42 Just a guess: as part of the emerge-command, chmod may be called as user
43 'portage', who does not have the right to change modifications of this file.
44
45 Just another guess: have a look at your /etc/portage/make.conf, and check the
46 FEATURES variable. If it contains 'userpriv', remove it and try again.
47
48 Best regards
49 Alex

Replies

Subject Author
Re: [gentoo-user] Chmod Failed Silvio Siefke <siefke_listen@×××.de>