Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 141504 Details for
Bug 206911
Attempting to create a symbolic link from a file in current directory to a target directory creates broken symlink
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Script automatically exposes the bug in question
lnBug (text/plain), 1016 bytes, created by
Robert Miesen
on 2008-01-21 19:26:38 UTC
(
hide
)
Description:
Script automatically exposes the bug in question
Filename:
MIME Type:
Creator:
Robert Miesen
Created:
2008-01-21 19:26:38 UTC
Size:
1016 bytes
patch
obsolete
>#!/bin/bash >############################################################################## >## Author: Robert Miesen >## Date Created: 01/21/2008 >## Last Modification Date: Time-stamp: <01/21/2008 by Robert Miesen> >## Filename: lnBug >## >## Overview: >## Aids in the reproduction of the 'ln -s Dir /path/to/destDir/Dir' bug. >## >## Input: >## -- None >## >## Output: >## -- A broken symbolic link to 'Dir' in /path/to/DestDir/ >############################################################################## > > > ## First, setup the directories and switch to the root of the directory tree > mkdir -p LnBugDir/Dir LnBugDir/path/to/DestDir/ > cd LnBugDir > > ## Now create a symbolic link to 'Dir' in /path/to/DestDir/ > ln -s Dir ./path/to/DestDir/Dir > > ## Now demonstrate that the created symbolic link is broken > file ./path/to/DestDir/Dir > ## RJM: This will proudly declare that the symlink is broken and that it's > ## a symlink to 'Dir', not "$(pwd)/Dir"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 206911
: 141504