From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20030109 Description of problem: /bin/rm behaves as if it is invoked as /bin/rm -i when removing symbolic links to unwriteable files. ~$ which rm /bin/rm ~$ touch /tmp/xxx ~$ ln -s /tmp/xxx ./xxx ~$ chmod 000 /tmp/xxx ~$ ls -ld . drwxr-xr-x 25 download users 2560 Feb 10 14:28 . ~$ rm ./xxx rm: remove symbolic link `xxx'? Please note that rm is not aliased to rm -i (nor is there a function, etc that would be changing which command actually gets used). Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. touch /tmp/xxx 2. ln -s /tmp/xxx ./xxx 3. chmod 000 /tmp/xxx 4. rm ./xxx Actual Results: I get the message: rm: remove symbolic link `xxx'? Expected Results: symbolic link should have been removed without prompting me Additional info: fileutils-4.1.9-11
Seems to be fixed in coreutils in rawhide.