mirror of
https://github.com/amidaware/rmmagent.git
synced 2026-04-26 06:45:48 +03:00
[PR #55] [CLOSED] Change Default Script Location on Nix Systems #61
Labels
No labels
bug
bug
enhancement
fixed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rmmagent#61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amidaware/rmmagent/pull/55
Author: @SoarinFerret
Created: 1/12/2025
Status: ❌ Closed
Base:
develop← Head:tempdir-patch📝 Commits (2)
c74ea7echange default dir to /tmp/trmm for nix systems00603f2add missing colon📊 Changes
1 file changed (+11 additions, -5 deletions)
View changed files
📝
agent/utils.go(+11 -5)📄 Description
Currently, scripts are being run from the executable location on *nix systems. This does not work when using read-only filesystems.
Instead, using
/tmp/trmmensures that we have a read/write directory location.Fixes #39
(I have been using a similar patch to this on most of my systems for at least a year, and have not noticed any issues)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.