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 svn        4096 May  1 12:12
Desktop
drwx------   5 svn svn        4096 May  6 13:26
Maildir
drwx--x--x   2 svn svn        4096 May 17 15:53 abc
drwxr-xr-x   3 svn svn        4096 May  1 11:03
colinux
drwxr-xr-x  15 svn svn        4096 May 15 12:22
linux-2.4-chimp
drwxr-xr-x   2 svn svn        4096 May 12 18:37
public_html
drwxrwxr-x   7 svn svn        4096 Apr 30 11:12 repo
drwxr-xr-x   2 svn www-data   4096 May 12 17:20 share
[EMAIL PROTECTED]:~$ chown svn.www-data abc
[EMAIL PROTECTED]:~$ ls -l
total 340
-rw-r--r--   1 svn svn      310332 Mar 21  2004
2.4.25-rmap15l
drwx------   3 svn svn        4096 May  1 12:12
Desktop
drwx------   5 svn svn        4096 May  6 13:26
Maildir
drwx--x--x   2 svn www-data   4096 May 17 15:53 abc
drwxr-xr-x   3 svn svn        4096 May  1 11:03
colinux
drwxr-xr-x  15 svn svn        4096 May 15 12:22
linux-2.4-chimp
drwxr-xr-x   2 svn svn        4096 May 12 18:37
public_html
drwxrwxr-x   7 svn svn        4096 Apr 30 11:12 repo
drwxr-xr-x   2 svn www-data   4096 May 12 17:20 share
======================================================

The only difference that I can find so far is that
user "chimp" has its info from LDAP(through
libnss/libpam), svn is a local user in /etc/passwd,
/etc/group

--- Bob Proulx <[EMAIL PROTECTED]> wrote:
> 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 user, I get
> > a operation not permitted, as below :
> 
> This is not a bug in coreutils.  It is a security
> policy decision of the
> operating system kernel.  Please read the GNU
> coreutils FAQ.
> 
>   http://www.gnu.org/software/coreutils/faq/
> 
> Look for "Why can only root chown files?"
> 
> Bob
> 


                
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to