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 the faq.

Forgive my ignorance and please close the bug.


--- Bob Proulx <[EMAIL PROTECTED]> wrote:
> 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 svn        4096 May 17 15:53
> abc
> > [EMAIL PROTECTED]:~$ chown svn.www-data abc
> > [EMAIL PROTECTED]:~$ ls -l
> > drwx--x--x   2 svn www-data   4096 May 17 15:53
> abc
> 
> What does this say?
> 
>   id svn
> 
> Does it include the www-data group?  If so then the
> Linux kernel
> allows this fine.
> 
> Bob
> 


                
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html



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

Reply via email to