[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 112428] New: konqueror refuses to move broken symbolic links
From: C Sincock <csbugreg () netspace ! net ! au>
Date: 2005-09-11 14:00:24
Message-ID: 20050911160021.112428.csbugreg () netspace ! net ! au
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=112428
Summary: konqueror refuses to move broken symbolic links
Product: konqueror
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: konq-bugs kde org
ReportedBy: csbugreg netspace net au
Version: (using KDE KDE 3.4.1)
Installed from: Gentoo Packages
OS: Linux
Konqueror seems to check (require) the target of a symlink to exist before allowing \
the symlink to be _moved_. copying symlinks seems to work fine. The problem exists \
with both relative and absolute symlinks.
how to reproduce:
1. create a test directory structure:
$ mkdir /tmp/symlinktest
$ cd /tmp/symlinktest
$ mkdir dira
$ mkdir dirb
$ mkdir dirc
$ touch testfile
$ mkdir dirc/dird
$ cd dira
$ ln -s ../testfile
2. open konqueror and drag(move) the testfile symlink
from dira to dirb.
expected: it should work (the symlink should be moved).
actual: it does work
3. open konqueror and drag(move) the testfile symlink
from dirb to dird (which is within dirc)
expected: it should work (even though the link will become invalid).
actual: it does work
4. (this is the step that fails) open konqueror and drag(move)
the symlink from dird back into dira/
expected: it should work - the symlink should be moved into dira/
actual: konqueror refuses to move, complaining that
'The file or folder /tmp/symlinktest/dirc/dird/testfile does not exist.'
Things of note:
the path shown in the error dialog is that of the symlink itself, but the
problem occurs when the _target_ of the symlink does not exist.
A simpler test to show the problem is just to create a symlink to a file,
delete the file, and then try to move the symlink. The extra steps above
are to hilight that the part of the move that konqueror has trouble with
is the actual _use_ of a the broken symlink, not the creation of one.
for example, step 3. creates a broken symlink (as it should).
I am pretty sure this is a recently introduced bug
because I have quite often built up a dir of symlinks
to stuff I want to burn to dvd, then burnt that directory,
deleted the originals, and then moved the symlinks
into a 'burnt' directory to act as a record of what I have
already burnt.
workaround:
because deleting symlinks works, and copying them works,
a (laborious) workaround is to copy the symlinks you want
to move and then delete the originals.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic