Package: coreutils
Version: 5.2.1-2
Severity: normal

rm is not able to delete this symlink:

   # ls -ld plus
   lrwxrwxrwx  1 root root 14 Aug 16 06:10 plus -> /root/pix/plus

it just hangs. strace shows:

   access("plus", W_OK <unfinished ...>

the folder /root/pix/plus is nfs-mounted and not currently
accessible. However, it is possible to unlink the file just fine, but
rm does not do it, it just hangs (rm -f actually works, but that is
undocumented behaviour, as -f is documented as "ignore nonexistent files,
never prompt").

I don't think rm should use access() on symlinks, as the result is valid
for the target of the symlink which should not have any effect on rm, as
it's not what rm is working on.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12.3
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages coreutils depends on:
ii  libacl1                     2.2.23-1     Access control list shared library
hi  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an

coreutils recommends no packages.

-- no debconf information


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

Reply via email to