diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index 9ba81ff102f112950517c7793ca403767f7ffdf6..2318978b3f78106dc859a85b13acf1b375374aa8 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c @@ -1834,7 +1834,7 @@ static int run(const char* source_path, const char* dest_path, uid_t uid, "fd=%i,rootmode=40000,default_permissions,allow_other,user_id=%d,group_id=%d", fd, uid, gid); - res = mount("/dev/fuse", dest_path, "fuse", MS_NOSUID | MS_NODEV, opts); + res = mount("/dev/fuse", dest_path, "fuse", MS_NOSUID | MS_NODEV | MS_NOEXEC, opts); if (res < 0) { ERROR("cannot mount fuse filesystem: %s\n", strerror(errno)); goto error;