Mount device with specific user rights
Problem
How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with and . My current entry to the file looks like this:
Error Output
dev /var/www vboxsf rw, suid, dev, exec, auto, nouser, async, uid=1000
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Mount device with specific user rights
To mount a device with certain rights, you can use the directive while mounting the device. To mount the device you described, run: For example mounting a VirtualBox shared folder to with as owner would look like this: If you want to mount the device on startup, you can add the following entry to your file: Again, with the same example the entry to the file would look like this: For filesystems that does not support mounting as a specific user (like ext4) the above will give the error to change…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix