[PR #55] [CLOSED] Change Default Script Location on Nix Systems #61

Closed
opened 2026-03-02 02:13:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/rmmagent/pull/55
Author: @SoarinFerret
Created: 1/12/2025
Status: Closed

Base: developHead: tempdir-patch


📝 Commits (2)

  • c74ea7e change default dir to /tmp/trmm for nix systems
  • 00603f2 add 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/trmm ensures 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.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/rmmagent/pull/55 **Author:** [@SoarinFerret](https://github.com/SoarinFerret) **Created:** 1/12/2025 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `tempdir-patch` --- ### 📝 Commits (2) - [`c74ea7e`](https://github.com/amidaware/rmmagent/commit/c74ea7e5e2b0ebbfc4a7f05206d423d20cda53bc) change default dir to /tmp/trmm for nix systems - [`00603f2`](https://github.com/amidaware/rmmagent/commit/00603f27f43c022e6e4d268a1744fcc7136403ee) add missing colon ### 📊 Changes **1 file changed** (+11 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `agent/utils.go` (+11 -5) </details> ### 📄 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/trmm` ensures 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) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 02:13:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rmmagent#61
No description provided.