Closed bigdaddymax closed 6 years ago
I am a little confused about what information you are asking to have added as this is not the udev or systemd-udevd repositories and the stack overflow you linked does not make use of usbmount. Could you please clarify what you would like better documented about usbmount?
Sorry for confusion.
Let me explain.
I have tried to use usbmount on Raspberry PI. And everything was fine (no errors, there were logs about detection of USB inserted, running mount command) but I couldn't access the drive files at the mount point.
So I found that stack overflow thread and figured out that it was my case - the drive was mounted in root userspace and this mount is not shared with non-root user.
So adding MountFlags=shared to udevd config solved the problem.
So I thought that if you could add this info to readme it would save other some time.
Thanks,
Maksym
On Feb 14, 2018 4:22 AM, "mathieulj" notifications@github.com wrote:
I am a little confused about what information you are asking to have added as this is not the udev or systemd-udevd repositories and the stack overflow you linked does not make use of usbmount. Could you please clarify what you would like better documented about usbmount?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbrito/usbmount/issues/9#issuecomment-365591312, or mute the thread https://github.com/notifications/unsubscribe-auth/AD6Ec-G5fBm8xWh0Tstqs0bwc0un5fYvks5tUs_xgaJpZM4SE2gc .
Thank you for the clarification. Am I correct in assuming that your installed usbmount version was 0.0.23 or earlier? The issue you describe was recently fixed and should not need any modification to the udevd configuration as of version 0.0.24 (See #6 for the implementation details).
Oh, you are absolutely right, I had version 0.0.22 Sorry for the confusion, I think we can close this question. Thanks!
That's quite alright. I don't have access rights on this repository so I cant close this issue myself but I do believe you can as you are the author of the issue.
Have a great day.
Could you please update Readme to reflect the specific behavior of udev (systemd-udevd) - it does mount USB device in root userspace so it is not visible to the user. Here you can find nice description of the problem and its solution
I have spent almost two days trying to find the solution, I think that having it in Readme would save lots of time to those who may experience the same problem.