Bug#309430: coreutils: chown/chgrp has problem with LDAP based users ?

2005-05-17 Thread gary ng
Package: coreutils libpam-ldap libnss-ldap Version: 5.2.1-2 Severity: important I have no idea what the source of this. I have a LDAP directory setup for user account management. Everything things work fine including login etc. However, when I want to change the ownership of a file belong to a

Bug#309430: coreutils: chown/chgrp has problem with LDAP based users ?

2005-05-17 Thread gary ng
ah, but how come another user(non-root) can do it then ? == [EMAIL PROTECTED]:~$ ls -l total 340 -rw-r--r-- 1 svn svn 310332 Mar 21 2004 2.4.25-rmap15l drwx-- 3 svn svn4096 May 1 12:12 Desktop drwx-- 5 svn svn

Bug#309430: coreutils: chown/chgrp has problem with LDAP based users ?

2005-05-17 Thread Bob Proulx
gary ng wrote: I have no idea what the source of this. I have a LDAP directory setup for user account management. Everything things work fine including login etc. However, when I want to change the ownership of a file belong to a particular user(under his home directory) when login as that

Bug#309430: coreutils: chown/chgrp has problem with LDAP based users ?

2005-05-17 Thread Bob Proulx
gary ng wrote: ah, but how come another user(non-root) can do it then ? If you own the file and are also in the group then the linux kernel allows you to change the group. drwx--x--x 2 svn svn4096 May 17 15:53 abc [EMAIL PROTECTED]:~$ chown svn.www-data abc [EMAIL PROTECTED]:~$ ls

Bug#309430: coreutils: chown/chgrp has problem with LDAP based users ?

2005-05-17 Thread Bob Proulx
gary ng wrote: [EMAIL PROTECTED]:~$ chown chimp.www-data abc chown: changing ownership of `abc': Operation not permitted What does this say? id chimp If it does not include www-data as one of the groups then the Linux kernel will not allow that operation. Bob -- To UNSUBSCRIBE, email to

Bug#309430: coreutils: chown/chgrp has problem with LDAP based users ?

2005-05-17 Thread gary ng
oh, I see it now. So the to that I change to must satisfy 2 conditions : 1. I am only changing the owner to myself 2. I must also be a member of the group owner that I change to I can understand (1) but it is (2) that I don't find mentioned anywhere. Would it be better to mention it somewhere in

Bug#309430: coreutils: chown/chgrp has problem with LDAP based users ?

2005-05-17 Thread Bob Proulx
gary ng wrote: oh, I see it now. So the to that I change to must satisfy 2 conditions : 1. I am only changing the owner to myself 2. I must also be a member of the group owner that I change to Yes. You have it. I can understand (1) but it is (2) that I don't find mentioned anywhere.