Page 1 of 1

sdcard has no owner execute enable flag enabled

Posted: 2024-11-30 9:41
by robit
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

Re: sdcard has no owner execute enable flag enabled

Posted: 2024-12-02 6:51
by Crocodile
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

Re: sdcard has no owner execute enable flag enabled

Posted: 2024-12-03 17:35
by robit
it works, thanks