casaroli opened a new pull request, #20756: URL: https://github.com/apache/nuttx/pull/20756
## Summary zipfs reported its files as `0444` and its root directory with no permission bits at all. So a program in a zip archive had no execute bit, and the root directory had no read or search bit. This PR reports the files and the root directory as `0555`. ## Impact Only the mode that `stat()` reports changes. With `CONFIG_SCHED_USER_IDENTITY`, `exec()` checks the execute bit, so with this PR a program on zipfs can run instead of failing with `EACCES`. ## Testing Build: `qemu-armv8a:nsh` with `CONFIG_FS_ZIPFS`, `CONFIG_LIB_ZLIB`, `CONFIG_UTILS_ZIP` and `CONFIG_UTILS_UNZIP`. (With make, `fs/zipfs` does not find `unzip.h` on master either; the build used the zlib include path of apps.) `tools/checkpatch.sh -c -u -m -g` passes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
