{"action":"opened","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/21273","labels_url":"https://api.github.com/repos/owncloud/core/issues/21273/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/21273/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/21273/events","html_url":"https://github.com/owncloud/core/issues/21273","id":122901454,"number":21273,"title":"Directory not syncing if a file with an identical name previously existed","user":{"login":"sukosevato","id":6662933,"avatar_url":"https://avatars.githubusercontent.com/u/6662933?v=3","gravatar_id":"","url":"https://api.github.com/users/sukosevato","html_url":"https://github.com/sukosevato","followers_url":"https://api.github.com/users/sukosevato/followers","following_url":"https://api.github.com/users/sukosevato/following{/other_user}","gists_url":"https://api.github.com/users/sukosevato/gists{/gist_id}","starred_url":"https://api.github.com/users/sukosevato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sukosevato/subscriptions","organizations_url":"https://api.github.com/users/sukosevato/orgs","repos_url":"https://api.github.com/users/sukosevato/repos","events_url":"https://api.github.com/users/sukosevato/events{/privacy}","received_events_url":"https://api.github.com/users/sukosevato/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T08:05:32Z","updated_at":"2015-12-18T08:05:32Z","closed_at":null,"body":"So I ran into the following issue.\r\n\r\nI had a text file named: \"A1\" (assignment 1).\r\nI wanted to move it into a folder named \"A1\" because I got more files belonging to the same assignment. So I renamed this file temporarily so I could create a folder name A1 and moved the file into it together with the new files. This all synced without a problem with owncloud.\r\n\r\nHowever, when I started owncloud on another computer, I got syncing errors.\r\n\r\n\"Not a directory\" is the error message that I get. And all files that I had moved into the directory fail to sync. So I renamed the file \"A1\" into \"A1_old\" and then got the error messages \"No such file or directory\" due to the directory \"A1\" still not existing. I then manually created a folder named \"A1\" and then owncloud did sync succesfully.\r\n\r\nSounds like a bug to me.\r\n\r\nBoth system that run the owncloud client are:\r\n- Linux 4.2.5-1-ARCH 2015 x86_64 GNU/Linux\r\n- Owncloud client 2.1.0, Built from Git revision c0c9fb on Dec 8 2015, 12:35:25 using Qt 5.5.1, OpenSSL 1.0.2e 3 Dec 2015\r\n\r\nThe owncloud server is running: \r\n- FreeBSD 10.2\r\n- Apache24-2.4.17\r\n- Php55-5.5.30 \r\n- OwnCloud 8.2.1 (stable)\r\n\r\nAll of them use ZFS as file system."}}