{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/9824","labels_url":"https://api.github.com/repos/atom/atom/issues/9824/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/9824/comments","events_url":"https://api.github.com/repos/atom/atom/issues/9824/events","html_url":"https://github.com/atom/atom/issues/9824","id":118925366,"number":9824,"title":"OSX 10.10.5 - Files locking up on smb connection","user":{"login":"elneco","id":609653,"avatar_url":"https://avatars.githubusercontent.com/u/609653?v=3","gravatar_id":"","url":"https://api.github.com/users/elneco","html_url":"https://github.com/elneco","followers_url":"https://api.github.com/users/elneco/followers","following_url":"https://api.github.com/users/elneco/following{/other_user}","gists_url":"https://api.github.com/users/elneco/gists{/gist_id}","starred_url":"https://api.github.com/users/elneco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elneco/subscriptions","organizations_url":"https://api.github.com/users/elneco/orgs","repos_url":"https://api.github.com/users/elneco/repos","events_url":"https://api.github.com/users/elneco/events{/privacy}","received_events_url":"https://api.github.com/users/elneco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/network","name":"network","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-25T21:16:14Z","updated_at":"2015-12-03T19:08:29Z","closed_at":null,"body":"I'm editing files on a mounted volume (connected via SMB). \r\n\r\nWhen I try to discard changes on a file w/ Git the file locks up and i get a \"Permission Denied\" message in atom. I can not delete the file in finder as well. \r\n\r\nI then need to disconnect from the mounted volume or reboot to get the file back.\r\n\r\nPlease help."},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/161749837","html_url":"https://github.com/atom/atom/issues/9824#issuecomment-161749837","issue_url":"https://api.github.com/repos/atom/atom/issues/9824","id":161749837,"user":{"login":"elneco","id":609653,"avatar_url":"https://avatars.githubusercontent.com/u/609653?v=3","gravatar_id":"","url":"https://api.github.com/users/elneco","html_url":"https://github.com/elneco","followers_url":"https://api.github.com/users/elneco/followers","following_url":"https://api.github.com/users/elneco/following{/other_user}","gists_url":"https://api.github.com/users/elneco/gists{/gist_id}","starred_url":"https://api.github.com/users/elneco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elneco/subscriptions","organizations_url":"https://api.github.com/users/elneco/orgs","repos_url":"https://api.github.com/users/elneco/repos","events_url":"https://api.github.com/users/elneco/events{/privacy}","received_events_url":"https://api.github.com/users/elneco/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T19:08:28Z","updated_at":"2015-12-03T19:08:28Z","body":"Ok so my setup is a bit complicated. \r\n\r\nI use a windows vm to handle git stuff as most of the network drives are windows based and for me git seems faster windows to windows. \r\n\r\nMy main machine is a mac and this is where I do all of my dev work. On my mac i connect to network drives via smb. \r\n\r\nDiscarding changes from the windows vm on files that are open in atom on my mac - locks the file and in some cases I actually can access the file in atom but the file is blank.\r\n\r\nSome network drives i connect to are Ubuntu based - in this scenario I perform git operations on my mac as Git operations OSX-to-Ubuntu is nowhere near as slow as OSX-to-windows conenctions. THIS WORKS FINE. I can discard changes and files dont lock up even when they are still open in atom.\r\n\r\nWhen i try Git operations on my mac with files on a windows share - it is VERY slow - but eventually it discards files just fine but i get some .smbdelete files which can not be deleted?\r\n\r\nSo it seems the main issue is -> discarding changes w/ git on my WINDOWS machine while that file is open in atom on my MAC locks / empties the file. (Sublime Text handles this w/ no problem)\r\n\r\nOverall this is a problem I'll be facing when I need to work on windows based network drives."}}