jump to navigation

Mount USB with executable permissions in Debian October 18, 2012

Posted by maxmil in : Uncategorized , trackback

By default gnome automounts external Fat USB drives without the exec option.

With the gconf editor there is an option to change this. However in Debian the dconf editor does’nt have this option.

Another option is to add the device to fstab with the options you desire.

First get the UUID of the device using
ls /dev/disk/by-uuid

Then add something like this to fstab
UUID=XXXXXXXXX /mnt/usb vfat user,exec,uid=1000,gid=1000 0 0

Now unmount and remount

umount /dev/sdXX
mount /mnt/usb

Comments»

no comments yet - be the first?