I can't reproduce that bug with coreutils 5.3.0 on my Debian stable
box, so I'd guess the problem has been fixed.  Can you please try it
again with coreutils 5.3.0?

ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.3.0.tar.gz

Here's my attempt to reproduce the problem:

penguin:/tmp# mkdir sandbox
penguin:/tmp# cd sandbox/
penguin:/tmp/sandbox# mkdir -p a/aa/aaa
penguin:/tmp/sandbox# touch foo
penguin:/tmp/sandbox# mkdir b
penguin:/tmp/sandbox# cd a/aa/aaa/
penguin:/tmp/sandbox/a/aa/aaa# ln -s ../../../foo foo
penguin:/tmp/sandbox/a/aa/aaa# ln -s ../../../b b
penguin:/tmp/sandbox/a/aa/aaa# cd ../../..
penguin:/tmp/sandbox# ls -l
total 8
drwxr-xr-x  3 root root 4096 Mar  9 14:42 a
drwxr-xr-x  2 root root 4096 Mar  9 14:42 b
-rw-r--r--  1 root root    0 Mar  9 14:42 foo
penguin:/tmp/sandbox# chown -R nobody:users a
penguin:/tmp/sandbox# ls -al
total 948
drwxr-xr-x   4 root   root    4096 Mar  9 14:42 .
drwxrwxrwt  42 root   root  954368 Mar  9 14:41 ..
drwxr-xr-x   3 nobody users   4096 Mar  9 14:42 a
drwxr-xr-x   2 root   root    4096 Mar  9 14:42 b
-rw-r--r--   1 root   root       0 Mar  9 14:42 foo
penguin:/tmp/sandbox# chown --version
chown (GNU coreutils) 5.3.0
Written by David MacKenzie and Jim Meyering.

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to