bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ln -fs "repoints" file symbolic links, but not directory symbolic links


From: Arvizu, Bob (CONT)
Subject: ln -fs "repoints" file symbolic links, but not directory symbolic links
Date: Mon, 15 Mar 2010 11:18:07 -0400

Premise:  ln command should work the same as it does on Unix

Bug:
Repointing a symbolic file link works properly; however,
repointing a symbolic directory link fails.
uname -a
Linux twitchy 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686
i686 i386 GNU/Linux

(Logged in as "account".)
 ll -d tools tools_dir wip
drwxr-xr-x  2 account  group  20480 Mar 15 10:47 tools
lrwxrwxrwx  1 account  group  5 Mar 15 10:47 tools_dir -> tools
drwxr-xr-x  4 account  group  4096 Jan 29 11:08 wip
 ln -fs wip tools_dir
 ll -d tools tools_dir wip
drwxr-xr-x  2 account  group  20480 Mar 15 11:05 tools
lrwxrwxrwx  1 account  group  5 Mar 15 10:47 tools_dir -> tools
drwxr-xr-x  4 account  group  4096 Jan 29 11:08 wip

Significance:  Repointing of a directory symbolic link would be
virtually instantaneous; with this bug, we must remove, then re-create
directory symbolic links; meaning the link won't exist for the time
between the rm and the (new) ln.


Regards,
Bob







The information contained in this e-mail is confidential and/or proprietary

to Capital One and/or its affiliates. The information transmitted herewith

is intended only for use by the individual or entity to which it is 

addressed.  If the reader of this message is not the intended recipient, 

you are hereby notified that any review, retransmission, dissemination, 

distribution, copying or other use of, or taking of any action in reliance 

upon this information is strictly prohibited. If you have received this 

communication in error, please contact the sender and delete the material 

from your computer.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]