Skip to content

update moduleutil to run sudo as user not root for test module button#5189

Closed
NiteRide wants to merge 1 commit into
AllskyTeam:v2025.xx.xxfrom
NiteRide:v2025_fix_moduleutil-issue-test-module-as-root
Closed

update moduleutil to run sudo as user not root for test module button#5189
NiteRide wants to merge 1 commit into
AllskyTeam:v2025.xx.xxfrom
NiteRide:v2025_fix_moduleutil-issue-test-module-as-root

Conversation

@NiteRide

@NiteRide NiteRide commented Jul 3, 2026

Copy link
Copy Markdown

Fixes [Test Module] button creating files and dirs as ROOT. eg. the user cannot normally delete without extra friction. Nor can endOfNight.sh automatically cleanup... Updates moduleUtil.php so that file and dir creation actions run as the user.

Let me know if you have any issues with this fix.

@NiteRide

NiteRide commented Jul 3, 2026

Copy link
Copy Markdown
Author

@Alex-developer can you have a look at this PR? (I can't request to assign you as a reviewer directly.) Let me know of any issues. I found this while working on keolapse a while back, and again recently.

@NiteRide

NiteRide commented Jul 4, 2026

Copy link
Copy Markdown
Author

Never mind. There is a bug with this approach. 🤔 I'm going to delete this PR and look at it again another day....

@NiteRide NiteRide closed this Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant