Automatic Mounting a USB drive in WSL #13273
Unanswered
BigBlockStudios
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a 4GB external USB drive plugging into a USB hub windows works fine with this auto mounting and such.
I have a mount point defined in WSL that I can mount the drive manually sudo mount -t drvfs E: /mnt/e - great.
Automount seems to work for privileged users root and myself as I can plug the drive in and access files without having to manually mount it.
an unprivileged user (bacula in particular) cannot see the drive after it is plugged in unless it gets manually mounted by a privileged user.
Bacula handles all my backups which begin to fail when the drive is unplugged or after a reboot etc.
Short of adding the bacula user to a privileged group - how can I get this usb drive to be auto mounted for unprivileged users?
Beta Was this translation helpful? Give feedback.
All reactions