User menu entry with %view fails on no-exec filesystem. #4242
Labels
area: core
Issues not related to a specific subsystem
prio: medium
Has the potential to affect progress
Milestone
Important
This issue was migrated from Trac:
lkrotowski
(lukasz.krotowski@….com)When tmp filesystem is no-exec user menu with %view fails to execute with error: can't execute: Permission denied. User menu without %view works fine. It's because in usermenu.c, in execute_menu_command() case without %view on no-exec filesystem is explicitly handled by executing script indirectly with /bin/sh.
Attached (ugly) patch copies that handling to %view case. And it seems to work for me.
Note
Original attachments:
lkrotowski
(lukasz.krotowski@….com) onMay 14, 2021 at 21:48 UTC
The text was updated successfully, but these errors were encountered: