{"action":"created","issue":{"url":"https://api.github.com/repos/ranger/ranger/issues/1399","repository_url":"https://api.github.com/repos/ranger/ranger","labels_url":"https://api.github.com/repos/ranger/ranger/issues/1399/labels{/name}","comments_url":"https://api.github.com/repos/ranger/ranger/issues/1399/comments","events_url":"https://api.github.com/repos/ranger/ranger/issues/1399/events","html_url":"https://github.com/ranger/ranger/issues/1399","id":388252986,"node_id":"MDU6SXNzdWUzODgyNTI5ODY=","number":1399,"title":"Unable to unmount external drive without closing ranger first","user":{"login":"mrbig033","id":36245777,"node_id":"MDQ6VXNlcjM2MjQ1Nzc3","avatar_url":"https://avatars0.githubusercontent.com/u/36245777?v=4","gravatar_id":"","url":"https://api.github.com/users/mrbig033","html_url":"https://github.com/mrbig033","followers_url":"https://api.github.com/users/mrbig033/followers","following_url":"https://api.github.com/users/mrbig033/following{/other_user}","gists_url":"https://api.github.com/users/mrbig033/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbig033/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbig033/subscriptions","organizations_url":"https://api.github.com/users/mrbig033/orgs","repos_url":"https://api.github.com/users/mrbig033/repos","events_url":"https://api.github.com/users/mrbig033/events{/privacy}","received_events_url":"https://api.github.com/users/mrbig033/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-12-06T15:02:52Z","updated_at":"2018-12-11T22:59:26Z","closed_at":null,"author_association":"NONE","body":"#### Runtime Environment\r\n\r\n- MX Linux 17\r\n- GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2018-11-28\r\n- [.emacs.d](https://github.com/mrbig033/dotfiles/tree/master/emacs/emacs_default)\r\n- [packages](https://github.com/mrbig033/dotfiles/blob/master/emacs/emacs_default/packs.el)\r\n- Operating system and version: MX Linux 17\r\n- Terminal emulator and version: st 0.8.1\r\n- Python version: Python 3.5.3, Python 2.7.13\r\n- Ranger version/commit: ranger-master 1.9.1\r\n- Locale: en_US.UTF-8\r\n\r\n#### Current Behavior\r\n\r\nWhenever I mount an external drive, Ranger prevents me from umounting it either on Thunar or bashmount. This is the message I get on bashmount, even as sudo:\r\n\r\n``` shell\r\n==> Unmounting /dev/sdb ...\r\n\r\nError unmounting /dev/sdb: GDBus.Error:org.freedesktop.UDisks2.Error.DeviceBusy: Error unmounting /dev/sdb: Command-line `umount  \"/media/mrbig/Inves\"' exited with non-zero exit status 32: umount: /media/mrbig/Inves: target is busy\r\n        (In some cases useful info about processes that\r\n         use the device is found by lsof(8) or fuser(1).)\r\n```\r\n\r\nWhen I close `ranger`, I'm able to unmount the drive without error.\r\n\r\n#### Expected Behavior\r\n\r\nI should be able to unmount any drive without `ranger` blocking it.\r\n\r\n#### Context\r\n<!-- How has this issue affected you? What are you trying to accomplish? -->\r\n\r\nI have to constantly close my `ranger` instance to unmount external USB drives.\r\n\r\n#### Steps to reproduce\r\n1. Insert USB drive\r\n2. Access it with `ranger`\r\n3. Try to unmount it without closing ranger\r\n"},"comment":{"url":"https://api.github.com/repos/ranger/ranger/issues/comments/446395309","html_url":"https://github.com/ranger/ranger/issues/1399#issuecomment-446395309","issue_url":"https://api.github.com/repos/ranger/ranger/issues/1399","id":446395309,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjM5NTMwOQ==","user":{"login":"toonn","id":1486805,"node_id":"MDQ6VXNlcjE0ODY4MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1486805?v=4","gravatar_id":"","url":"https://api.github.com/users/toonn","html_url":"https://github.com/toonn","followers_url":"https://api.github.com/users/toonn/followers","following_url":"https://api.github.com/users/toonn/following{/other_user}","gists_url":"https://api.github.com/users/toonn/gists{/gist_id}","starred_url":"https://api.github.com/users/toonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toonn/subscriptions","organizations_url":"https://api.github.com/users/toonn/orgs","repos_url":"https://api.github.com/users/toonn/repos","events_url":"https://api.github.com/users/toonn/events{/privacy}","received_events_url":"https://api.github.com/users/toonn/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T22:59:26Z","updated_at":"2018-12-11T22:59:26Z","author_association":"MEMBER","body":"No idea why the disk utility would have problems with ranger. How about other file managers?"}}
{"actor":{"display_login":"toonn"}}