bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16532: Test Fail: "tests/chown/separator"


From: Assaf Gordon
Subject: bug#16532: Test Fail: "tests/chown/separator"
Date: Thu, 23 Jan 2014 18:41:23 -0500
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/23/2014 06:20 PM, Bernhard Voelker wrote:
On 01/23/2014 07:41 PM, Assaf Gordon wrote:
$ strace ../src/chown 34574:users . 2>&1 | grep -A 5 -B 5 chown

fchownat(AT_FDCWD, ".", 34574, 100, 0)  = -1 EPERM (Operation not permitted)

++ id -g
+ id_g=1000

+ chown 34574:users .
chown: changing ownership of '.': Operation not permitted
+ fail=1

Ooops, something very strange is going on on your system:
chown resolves the group 'users' to gid 100 while 'id -g'
says 1000.

Can you find out why?
Are you using some strange Samba/Kerberos authentication against
an Active Directory or similar? (I've seen such issues with that
combination,)


Thanks for the quick reply - this is a strange old server (not my doing...).
Indeed it uses an external authentication, and has conflicting local and global groups named "users".

==
$ grep users /etc/group
users:x:100:
$ getent group | grep ^users
users:x:100:
users:x:1000:
$ id -G
1000 1001 3432
==

So I guess this is not a bug, and can be closed.
I'll just ignore this failure on this system.

Thanks,
-gordon







reply via email to

[Prev in Thread] Current Thread [Next in Thread]