Some drives in Ubuntu are mounted using HAL. To change the mount options for these drives, do the following -
(In the /dev/sdb2 example above, remember that umask=000 gives everyone all permissions; so it is the inverse of what you would give for chmod.)
- Run gnome-mount -u -d /dev/sdb1.
- Run gnome-mount -d /dev/sdb1 --display-settings to view current settings.
- Run gnome-mount -d /dev/sdb1 --write-settings --mount-options umask=000,opt2,opt3=foo to set the mount options.
- If you want to keep the existing options and change/add only a few, then use gnome-mount -d /dev/sdb1 --write-settings --extra-mount-options opt4,opt5=foo.
- Now mount the drive in the usual way (from Nautilus).
(In the /dev/sdb2 example above, remember that umask=000 gives everyone all permissions; so it is the inverse of what you would give for chmod.)
No comments:
Post a Comment