Shortcut file (extension .lnk) cannot be deleted from the client PC's
Description
In ownCloud Windows shortcut files get the extension .lnk. At another synced PC the ownCloud client software reports the deletion of such a file, but the Windows Explorer still shows the shortcut file and Windows did not actually delete that file. After a while the file will be synced back to the PC where the file was deleted.
Steps to reproduce
- Have 2 PC's synced with r/w rights in ownCloud
- Put a simple .exe file in the shared folder at PC1 and create a shortcut file.
- Wait until these 2 files are synced to PC2 and delete them at PC1.
Expected behaviour
Both files should be deleted and stay deleted at PC1 and PC2.
Actual behaviour
At PC1 the deletion will be performed immediately. At PC2 the deletion will be confirmed later and it can be seen reported in activity log. However, the shortcut file will actually not be deleted. After a while the non-deleted shortcut file will be copied back from PC2 to the cloud and to PC1.
Server configuration
ownCloud version: 6.0.4 (stable) encryption: yes
Client configuration
Win XP, Win7 or Win8 IE11, Firefox, Google Chrome ownCloud version: 1.6.1 or 1.5.4
Temporary workaround
Most often it has not so much sense to copy shortcut files. The file paths will probably not be correct for the other connected PC's. But as it is now, the system can be contaminated with non-removable shortcut files. I now use the Ignored Files list to exclude shortcut .lnk files from being synced.
As a quick solution for next ownCloud versions the exclusion of .lnk files could be a default setting with the option to change it and get the problem back as long as it is not fundamentally solved.
Hi,
as this is probably an issue with the client i think the report should go to https://github.com/owncloud/mirall/issues
Thanks RealRancor,
You are right.
I also just discovered that this issue was reported there as "Closed" (???) at https://github.com/owncloud/mirall/issues/1307
ogoffart commented on Feb 4, 2014: "We were able to reproduce this problem when syncing with two windows computers. Will be fixed in next release. Thanks for reporting!"
The issue was coupled to v1.5.1 while we are now at v1.6.1. ! So #1307 was closed, but not solved.
I will close the issue here and reopen it at owncloud/mirall