Sunflower
Sunflower copied to clipboard
copying destroys symbolic links
Hello, Moving (ctrl-x, ctrl-v and F6) destroys symbolic links inside moved folder. Instead of links there is a copy of files. Links are preserved in Nautilus or even mv command. I didn't find any config option for that behaviour. UPDATE: next comment explain that I have issue with copying.
How are they preserved? Do links point to original paths?
Ok, now I checked it again and I see issue with copying. I'm sorry.
I will show you example, as you can see, after mv link is still a link
$ mkdir test_dir
$ touch test_file
$ ln -s /home/n/test_file test_dir/
$ ls test_dir/ -la
lrwxrwxrwx 1 n n 18 mar 29 01:39 test_file -> /home/n/test_file
$ cp -r test_dir test_dir2
$ ls test_dir2/ -la
lrwxrwxrwx 1 n n 18 mar 29 01:39 test_file -> /home/n/test_file
now, when you copy/move the test_dir2 (that has link inside) in sunflower, you will lose link:
$ ls new_place/test_dir2/ -la
-rwxrwxrwx 1 js js 0 mar 29 01:39 test_file*
In copy dialog box there is switch "follow symlinks" but it doesn't change anything.
Thank you. I'll see where the problem lies in. Can you say what would be expected behavior for you?
Expected behaviour should be the same like behaviour of cp
, link should be still a link:
$ ls test_dir2/ -la
lrwxrwxrwx 1 n n 18 mar 29 01:39 test_file -> /home/n/test_file
Pointing to the original link location? On Apr 1, 2016 7:06 PM, "Jakub Stepniak" [email protected] wrote:
Expected behaviour should be the same like behaviour of cp, link should be still a link:
$ ls test_dir2/ -la lrwxrwxrwx 1 n n 18 mar 29 01:39 test_file -> /home/n/test_file
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/MeanEYE/Sunflower/issues/210#issuecomment-204451764
Is there a way to vote for an issue? This seems pretty important to me.
As far as I know there's no way of upvoting issues but I know this is important one to fix. I just need to know what is the expected behavior.