bug-coreutils
[Top][All Lists]
Advanced

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

Re: Attempting to create a symbolic link from a file in current director


From: Brock Noland
Subject: Re: Attempting to create a symbolic link from a file in current directory to a target directory creates broken symlink
Date: Mon, 21 Jan 2008 15:26:32 -0600

I get access denied when trying to view that bug.

However, I believe you are using the command incorrectly.  See the
demonstration below.

address@hidden:~$ pwd
/home/noland
address@hidden:~$ ls -la dir
total 4
drwxr-xr-x  2 noland noland   48 2008-01-21 15:22 .
drwxr-xr-x 75 noland noland 4144 2008-01-21 15:22 ..
address@hidden:~$ ln -s dir /tmp/dir
address@hidden:~$ ls -l /tmp/dir
lrwxrwxrwx 1 noland noland 3 2008-01-21 15:24 /tmp/dir -> dir
address@hidden:~$ rm /tmp/dir
address@hidden:~$ ln -s /home/noland/dir /tmp/dir
address@hidden:~$ ls -l /tmp/dir
lrwxrwxrwx 1 noland noland 16 2008-01-21 15:24 /tmp/dir -> /home/noland/dir
address@hidden:~$ cd /tmp/dir
address@hidden:/tmp/dir$ pwd
/tmp/dir
address@hidden:/tmp/dir$ /bin/pwd
/home/noland/dir

Thanks,
Brock

On Jan 21, 2008 1:52 PM, Robert Miesen <address@hidden> wrote:
> Attempting to run a command to the effect of 'ln -s Dir /path/to/DestDir/Dir
> creates a broken symlink to "Dir" in /path/to/DestDir/. See the attached
> script
> for automated bug reproduction. Same effect also happens when using the '-t'
> option.
>     I attempted to raise this issue with Gentoo, but I got the "RTFM"
> response, which I had, and did again just to appease the "helpful"
> person, only to get RTFM again. Hopefully somebody from the GNU world
> (pun intended) will be able to help me out more than the person at
> Gentoo did. You can find all the original information on the bug as well
> as a cute script to help expose the bug at
> http://bugs.gentoo.org/show_bug.cgi?id=206911.
>
>     Thanks in advance for all your help.
> <http://bugs.gentoo.org/show_bug.cgi?id=206911>
> _______________________________________________
> Bug-coreutils mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-coreutils
>




reply via email to

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