{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/1938","labels_url":"https://api.github.com/repos/owncloud/client/issues/1938/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/1938/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/1938/events","html_url":"https://github.com/owncloud/client/issues/1938","id":37199420,"number":1938,"title":"Shortcut file (extension .lnk) cannot be deleted from the client PC's","user":{"login":"VincentvgNn","id":7522929,"avatar_url":"https://avatars.githubusercontent.com/u/7522929?v=3","gravatar_id":"","url":"https://api.github.com/users/VincentvgNn","html_url":"https://github.com/VincentvgNn","followers_url":"https://api.github.com/users/VincentvgNn/followers","following_url":"https://api.github.com/users/VincentvgNn/following{/other_user}","gists_url":"https://api.github.com/users/VincentvgNn/gists{/gist_id}","starred_url":"https://api.github.com/users/VincentvgNn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VincentvgNn/subscriptions","organizations_url":"https://api.github.com/users/VincentvgNn/orgs","repos_url":"https://api.github.com/users/VincentvgNn/repos","events_url":"https://api.github.com/users/VincentvgNn/events{/privacy}","received_events_url":"https://api.github.com/users/VincentvgNn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-07-05T14:05:45Z","updated_at":"2015-02-12T13:46:53Z","closed_at":null,"body":"### Description\r\n\r\nIn ownCloud Windows shortcut files get the extension .lnk.\r\nAt 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.\r\nAfter a while the file will be synced back to the PC where the file was deleted.\r\n\r\nNote:\r\nThis issue was also reported as https://github.com/owncloud/mirall/issues/1307 and was closed (!?).\r\nOn Feb 4, 2014 ogoffart commented:\r\n\"We were able to reproduce this problem when syncing with two windows computers.\r\nWill be fixed in next release. Thanks for reporting!\"\r\nThe issue was coupled to v1.5.1 while we are now at v1.6.1. \r\nSo #1307 was closed, but not solved.\r\n\r\n### Steps to reproduce\r\n\r\n1. Have 2 PC's synced with r/w rights in ownCloud\r\n2. Put a simple .exe file in the shared folder at PC1 and create a shortcut file.\r\n3. Wait until these 2 files are synced to PC2 and delete them at PC1.\r\n\r\n### Expected behaviour\r\n\r\nBoth files should be deleted and stay deleted at PC1 and PC2.\r\n\r\n### Actual behaviour\r\n\r\nAt PC1 the deletion will be performed immediately.\r\nAt PC2 the deletion will be confirmed later and it can be seen reported in activity log.\r\nHowever, the shortcut file will actually not be deleted.\r\nAfter a while the non-deleted shortcut file will be copied back from PC2 to the cloud and to PC1.\r\n\r\n## Server configuration\r\n\r\nownCloud version: 6.0.4 (stable)\r\nencryption: yes\r\n\r\n### Client configuration\r\n\r\nWin XP, Win7 or Win8\r\nIE11, Firefox, Google Chrome\r\nownCloud version: 1.6.1 or 1.5.4\r\n\r\n### Temporary workaround\r\n\r\nMost 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.\r\nBut as it is now, the system can be contaminated with non-removable shortcut files.\r\nI now use the Ignored Files list to exclude shortcut .lnk files from being synced.\r\n![setting lnk file exclusion](https://cloud.githubusercontent.com/assets/7522929/3874635/6ce2804e-2144-11e4-93e9-eaac119b280a.jpg)\r\n\r\nAs 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."},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/74072450","html_url":"https://github.com/owncloud/client/issues/1938#issuecomment-74072450","issue_url":"https://api.github.com/repos/owncloud/client/issues/1938","id":74072450,"user":{"login":"maituikas","id":10975818,"avatar_url":"https://avatars.githubusercontent.com/u/10975818?v=3","gravatar_id":"","url":"https://api.github.com/users/maituikas","html_url":"https://github.com/maituikas","followers_url":"https://api.github.com/users/maituikas/followers","following_url":"https://api.github.com/users/maituikas/following{/other_user}","gists_url":"https://api.github.com/users/maituikas/gists{/gist_id}","starred_url":"https://api.github.com/users/maituikas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maituikas/subscriptions","organizations_url":"https://api.github.com/users/maituikas/orgs","repos_url":"https://api.github.com/users/maituikas/repos","events_url":"https://api.github.com/users/maituikas/events{/privacy}","received_events_url":"https://api.github.com/users/maituikas/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T13:46:53Z","updated_at":"2015-02-12T13:46:53Z","body":"Hi, thanks for the reply but unfortunately I am not in total control of the server environment where the 8.0 version is currently sitting so I cannot test this with your build... Any other suggestions?"}}