logo       

Bug: Symlink removal.: msg#00077

gnu.core-utils.bugs

Subject: Bug: Symlink removal.

Hi,

Currently in gentoo, we offer fileutils-4.1.11 and coreutils-4.5.10 (which is
currently masked for testing, and we are ready to replace the 3 utils with
coreutils, as soon as it goes stable according to GNU).

The problem is a slight modification of one reported here:

http://mail.gnu.org/archive/html/bug-fileutils/2003-01/msg00002.html

Now, the results are as follows:

trinity@sephora temp $ mkdir test
trinity@sephora temp $ touch test/testfile
trinity@sephora temp $ ln -s test test2
trinity@sephora temp $ rm test2/
rm: remove directory `test2/'? y
rm: cannot remove directory `test2/': Is a directory
trinity@sephora temp $ rmdir test2/
rmdir: `test2/': Not a directory
trinity@sephora temp $ rm test2/
rm: remove directory `test2/'? y
rm: cannot remove directory `test2/': Is a directory
trinity@sephora temp $ rm test2
rm: remove symbolic link `test2'? y

What gives? is it a directory or isn't it? :P

Note, that a user pointed my attention to this in gentoo's bugzilla:

http://bugs.gentoo.org/show_bug.cgi?id=17838

Thanks for your attention,

--
Seemant Kulleen
Developer and Project Co-ordinator,
Gentoo Linux http://www.gentoo.org/~seemant

Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3458780E
Key fingerprint = 23A9 7CB5 9BBB 4F8D 549B 6593 EDA2 65D8 3458 780E

Attachment: pgpfLN1aiSMfj.pgp
Description: PGP signature

_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@xxxxxxx
http://mail.gnu.org/mailman/listinfo/bug-coreutils
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise