Bug 240121 - Copy operations try to work on syslinks.
Summary: Copy operations try to work on syslinks.
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 4.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-05-30 18:52 UTC by Dotan Cohen
Modified: 2018-10-29 02:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot displaying Dolphin error that it cannot copy the file, which is a syslink (18.08 KB, image/png)
2010-05-30 18:52 UTC, Dotan Cohen
Details
Screenshot in English (28.97 KB, image/png)
2013-12-30 11:41 UTC, Dotan Cohen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2010-05-30 18:52:03 UTC
Created attachment 47488 [details]
Screenshot displaying Dolphin error that it cannot copy the file, which is a syslink

Version:           unspecified (using KDE 4.4.2) 
OS:                Linux

When selecting folders with Dolphin and performing copy operations, Dolphin should simply ignore syslinks and not try to copy them.

Reproducible: Didn't try

Steps to Reproduce:
Try to copy folders with syslinks in them. For instance:
$ ls -l .pulse
total 168
lrwxrwxrwx 1 dotancohen dotancohen    23 2010-01-04 08:27 6497f78dc3ba2e6c6c0621314b418a3b-runtime -> /tmp/pulse-3uavuaOb9vyJ                                                           
-rw-r--r-- 1 dotancohen dotancohen 24576 2010-04-17 21:24 d7c37817edb9d1180a2f9a734b4363c9-card-database.tdb
-rw-r--r-- 1 dotancohen dotancohen    43 2010-05-08 16:37 d7c37817edb9d1180a2f9a734b4363c9-default-sink
-rw-r--r-- 1 dotancohen dotancohen    51 2010-05-08 16:37 d7c37817edb9d1180a2f9a734b4363c9-default-source
-rw-r--r-- 1 dotancohen dotancohen 61440 2010-05-05 09:11 d7c37817edb9d1180a2f9a734b4363c9-device-volumes.tdb
lrwxrwxrwx 1 dotancohen dotancohen    23 2010-05-28 16:44 d7c37817edb9d1180a2f9a734b4363c9-runtime -> /tmp/pulse-pJA76AcBAanB                                                           
-rw-r--r-- 1 dotancohen dotancohen 77824 2010-04-29 14:22 d7c37817edb9d1180a2f9a734b4363c9-stream-volumes.tdb




See in screenshot that Dolphin could not copy the syslink
Comment 1 Dawit Alemayehu 2013-06-18 05:08:05 UTC
Why should symlinks be ignored? It makes no sense. When copied to another filesystem they would be converted to a copy of the file the symlink is pointing to. Otherwise, the symlink is preserved even though the item it points to is changed.
Comment 2 Dotan Cohen 2013-06-18 07:59:19 UTC
I had suggested that symlinks be ignored as apparently they cannot be copied. The error text says "The file does not exist". If the file that the symlink points to can in fact be copied, then go ahead and copy it!

Don't forget about recursion, which could have a folder copying itself until the heat death of the universe.
Comment 3 Christoph Feck 2013-12-29 21:47:48 UTC
Dawit, does comment #2 provide the requested information? Please set the bug status.
Comment 4 Dawit Alemayehu 2013-12-30 05:16:23 UTC
(In reply to comment #3)
> Dawit, does comment #2 provide the requested information? Please set the bug
> status.

The symlink gets copied so I dunno what this bug report is about. IOW, I cannot reproduce the problem. Perhaps it has been fixed since this bug was reported? No idea, but copying a symlink from one folder to another in the same partition or a different one results in the symlink itself being copied ; so I cannot really reproduce this issue.
Comment 5 Dotan Cohen 2013-12-30 11:41:59 UTC
Created attachment 84348 [details]
Screenshot in English

Here is another screenshot, this time in English.

The problem is easily reproducible by trying to copy ~/ to an external USB drive, or alternatively for testing purposes copying only ~/.pulse. Note that the machine that I've used to make the current screenshot is not the same machine as the previous screenshot, so the problem is reproducible across machines.
Comment 6 Dawit Alemayehu 2014-03-31 12:07:25 UTC
(In reply to comment #5)
> Created attachment 84348 [details]
> Screenshot in English
> 
> Here is another screenshot, this time in English.
> 
> The problem is easily reproducible by trying to copy ~/ to an external USB
> drive, or alternatively for testing purposes copying only ~/.pulse. Note
> that the machine that I've used to make the current screenshot is not the
> same machine as the previous screenshot, so the problem is reproducible
> across machines.

I do not have a ~/.pulse directory to try the test, but can you find out what the symlink you are trying to copy is pointing to? Is it a special device, a regular file or a directory? You can use "stat" from the terminal.
Comment 7 Nate Graham 2018-05-03 21:31:12 UTC
Please provide the requested information, if you can still reproduce this issue with recent versions of KIO and Dolphin.
Comment 8 Andrew Crouthamel 2018-09-28 03:29:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Andrew Crouthamel 2018-10-29 02:17:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!