How to mount the microsd with exec permissions?

Hello in the last debian version for the bbb how do I mount the microsd with exec permissions?

I tried:

root@beaglebone:/media/E868-3288/mono# mount -t vfat -o remount,rw,nosuid,nodev,relatime,uid=1000,gid=1002,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks,exec /dev/mmcblk0 /media/E868-3288/

And it does not display any error, but it does not work, I can’t change permissions of the files.


You need to change to file system type to something other than fat.


Oh wow! nice, thanks!

Just for future reference (I am trying to compile mono, and since the flash can’t fit the complete source and the sd was not allowing me to run the .sh due this vfat thing):

  1. Insert the sd
  2. df (and check the one mounted as /media/something
  3. fdisk /dev/mmcpath used by /media/something
  4. p (list partitions), d (delete all), n (create new partition)
  5. mkfs /dev/mmcpath used by /media/something
  6. reboot