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


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

Reply via email to