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

From: Bernhard Voelker <[email-masked]>
Date: Fri, 24 Jan 2014 00:20:51 +0100

tag 16532 + moreinfo
thanks

On 01/23/2014 07:41 PM, Assaf Gordon wrote:
> Hello,

welcome back!

> Testing the latest coreutils (v8.22.16-be97f) on an old Ubuntu server, 
> results in a test failure "tests/chown/separator" (log + strace below).

> $ 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,)

Have a nice day,
Berny