Results 1 to 2 of 2
Thread: Mounting movable device as user
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2004
Mounting movable device as user
Ubuntu 7.10 desktop amd64
Since only root can mount moveable device I run "sudo mount" to do the job. However all files copied onto the moveble device become owned by root. Is there a clue to allow a selected user (NOT all users) to mount movable device as user NOT as root so that the ownership of files copied on to the device can be retained as original. TIA
- Join Date
- Nov 2007
- Córdoba (Spain)
However, you can setup your drives on /etc/fstab usually. If you are the mount option "users", any user will be able to mount the drive. For example, I use this line for my dvd drive:
/dev/scd0 /mnt/dvd iso9660 ro,users,noauto 0 0
I am not an ubuntu user myself. A quick google revealed a thread on the ubuntu forums that might be useful for you:
Create your own udev rules to control removable devices - Ubuntu Forums
Though it's mostly the same for all the distros.
As I said, there might be another way around. Maybe ubuntu is using ivman or something custom by default. So, wait for input from a ubuntu user, just in case that there's a better way around.