Thu, Aug 30, 2007 ve 06:05:49PM +0200, Tomas Ruprich napsal:
> Greetings,
> i had a following problem, which on one side i have already solved, but
> on other side i don't thing it should behave this way and wish somebody to 
> tell if it is feature or bug ;-)
> 
> [EMAIL PROTECTED] home]# chown user user/
> [EMAIL PROTECTED] home]# ls -ld /home/user
> drwxr-xr-x  66 user staff 4096 /home/user
> [EMAIL PROTECTED] home]# chgrp -R staff user/
> [EMAIL PROTECTED] home]# ls -ld user/
> drwxr-xr-x  66 root staff 4096 user/
>               ^^^^^^

just to be accurate, this doesn't happen when using --no-dereference and it is 
not 
changing permissions to root, but to user who is the owner of the link, so:

[EMAIL PROTECTED] home]# ls -la user/.openoffice/user/work
lrwxrwxrwx  1 nobody root 13 Aug 28 14:35 user/.openoffice/user/work -> 
/home/user
[EMAIL PROTECTED] home]# ls -ld /home/user
drwxr-xr-x  66 user staff 4096 /home/user
[EMAIL PROTECTED] home]# chgrp -R staff user/
[EMAIL PROTECTED] home]# ls -ld user/
drwxr-xr-x  66 nobody staff 4096 user/

-------------------------------------------------------------------------------
  Tomáš Ruprich                                       [EMAIL PROTECTED]
  DCD IICT MUAF Brno
  tel.: +420 545 132 885, +420 602 127 744
-------------------------------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to