Hi,
I'm using miniB with an sdcard in the slot (buildroot).
After booting the sdcard it has no execute permission enabled just rw. (fmask = 0133) by default.
/dev/mmcblk1p1 on /mnt/sdcard type exfat (rw,noatime,uid=1000,gid=1000,fmask=0133,dmask=0022,iocharset=utf8,errors=remount-ro)
unmounting and remounting grants excecute permission
[root@luckfox root]# umount /dev/mmcblk1p1
[root@luckfox root]# mount /dev/mmcblk1p1 /mnt/sdcard/
/dev/mmcblk1p1 on /mnt/sdcard type exfat (rw,relatime,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro)
How can this be enabled by default?
I have not found sdcard related lines in the fstab
Thanks
sdcard has no owner execute enable flag enabled
Hello, the auto-mount of the SD card is controlled by /lib/udev/rules.d/61-sd-cards-auto-mount.rules, you don't need to start the auto-mount, you can delete the rules, write the startup script to customize the settings you need
it works, thanks