{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/16859","labels_url":"https://api.github.com/repos/owncloud/core/issues/16859/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/16859/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/16859/events","html_url":"https://github.com/owncloud/core/issues/16859","id":86929113,"number":16859,"title":"[Experimental files locking] Moving a folder doesn't forbid you to download files from moved folder or destination folder.","user":{"login":"SergioBertolinSG","id":9048796,"avatar_url":"https://avatars.githubusercontent.com/u/9048796?v=3","gravatar_id":"","url":"https://api.github.com/users/SergioBertolinSG","html_url":"https://github.com/SergioBertolinSG","followers_url":"https://api.github.com/users/SergioBertolinSG/followers","following_url":"https://api.github.com/users/SergioBertolinSG/following{/other_user}","gists_url":"https://api.github.com/users/SergioBertolinSG/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioBertolinSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioBertolinSG/subscriptions","organizations_url":"https://api.github.com/users/SergioBertolinSG/orgs","repos_url":"https://api.github.com/users/SergioBertolinSG/repos","events_url":"https://api.github.com/users/SergioBertolinSG/events{/privacy}","received_events_url":"https://api.github.com/users/SergioBertolinSG/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev2-high","name":"sev2-high","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":79,"closed_issues":1383,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-06-10T14:18:31Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":8,"created_at":"2015-06-10T11:05:37Z","updated_at":"2015-06-10T14:50:36Z","closed_at":null,"body":"### Steps to reproduce\r\n\r\n1. Enable redis as cache system.\r\n2. Enable experimental files locking.\r\n3. Enable external storage app.\r\n4. Mount a SFTP folder.\r\n5. Create a folder 'folder'.\r\n6. Upload files on it.\r\n7. Move 'folder' to SFTP mount folder.\r\n8. Try to download files from 'folder' or from 'SFTP/folder'\r\n\r\n### Expected behaviour\r\nYou get an error about locked folder.\r\n\r\n### Actual behaviour\r\nYou can download files (corrupted since they are moving).\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu 14.04\r\n\r\n**Web server:**\r\nApache\r\n\r\n**Database:**\r\nMySQL\r\n\r\n**PHP version:**\r\n5.5.9\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\n{\"installed\":true,\"maintenance\":false,\"version\":\"8.1.0.6\",\"versionstring\":\"8.1 beta 2\",\"edition\":\"Enterprise\"}\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh\r\n\r\n**List of activated apps:**\r\nExperimental files locking.\r\nExternal storage.\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n\r\n```\r\n\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nSFTP.\r\n\r\n**Are you using encryption:** \r\nNo.\r\n\r\n**Logs**\r\n```\r\n\r\n```\r\n\r\n### Client configuration\r\n\r\n**browser**\r\nChrome 41, Firefox\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/110782324","html_url":"https://github.com/owncloud/core/issues/16859#issuecomment-110782324","issue_url":"https://api.github.com/repos/owncloud/core/issues/16859","id":110782324,"user":{"login":"icewind1991","id":1283854,"avatar_url":"https://avatars.githubusercontent.com/u/1283854?v=3","gravatar_id":"","url":"https://api.github.com/users/icewind1991","html_url":"https://github.com/icewind1991","followers_url":"https://api.github.com/users/icewind1991/followers","following_url":"https://api.github.com/users/icewind1991/following{/other_user}","gists_url":"https://api.github.com/users/icewind1991/gists{/gist_id}","starred_url":"https://api.github.com/users/icewind1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewind1991/subscriptions","organizations_url":"https://api.github.com/users/icewind1991/orgs","repos_url":"https://api.github.com/users/icewind1991/repos","events_url":"https://api.github.com/users/icewind1991/events{/privacy}","received_events_url":"https://api.github.com/users/icewind1991/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T14:50:36Z","updated_at":"2015-06-10T14:50:36Z","body":"Should be the same, locking is unrelated from the storage used"}}