Type mount
. This will give the current place it is at. Here is my output.
rick@rick-Main ~ $ mount
/dev/sda4 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sda6 on /media/DATA1 type vfat (rw,uid=1000,utf8,umask=077)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=rick)
/dev/sdf1 on /media/usb0 type vfat (rw,noexec,nodev,sync,noatime,nodiratime)
The last is my usb drive automouunted by Linux Mint.
Now type
sudo umount /dev/sdf1
this will unmount drive
now remount correctly.
sudo mount -t vfat /dev/sdf1 /media/usb0 -o rw,users,umask=0
I get an error with 'bad option' if I add
umask=0 0 0
as an entry in fstab. Does theumask
-entry need to be the last entry? What does themanaged=0 0 0
entry do that is currently last? – Jonas – 2010-08-19T14:03:45.6831FWIW, the umask option is a VFAT-only option, i.e. the solution helps as long as the USB memory is uses the VFAT filesystem (which did not happen to be my case). – Tomislav Nakic-Alfirevic – 2012-03-17T18:12:24.237
2Thank you. But I had to alter it in order to make it work:
sudo mount -o umask=0,uid=nobody /dev/something /mnt/somewhere
It only works without setting the gid-parameter. – Nippey – 2012-10-19T18:54:48.087