argon icon indicating copy to clipboard operation
argon copied to clipboard

[MacOS] Argon can only be executed as root

Open edrf12 opened this issue 1 year ago • 0 comments

I have installed the cli using the file downloaded from GitHub, it was placed in /usr/local/bin/argon and has the following permissions

-rwxr-xr-x@ 1 root  wheel  18683352 Aug  9 15:52 /usr/local/bin/argon*

Running argon serve -vvvv (File paths truncated)

WARN: Failed to load config file: No such file or directory (os error 2) [argon:51]
WARN: Failed to verify Argon installation: unsupported shell [argon:56]
TRACE: Initializing VFS [argon::core:40]
DEBUG: Update check already performed within the last hour [argon::updater:154]
INFO: Update check completed successfully! [argon:62]
TRACE: Snapshotting root project [argon::core:44]
TRACE: Creating snapshot of [...]/default.project.json [argon::middleware:146]
DEBUG: Stats already synced within the last hour or too few stats to sync [argon::stats:144]
INFO: Stat tracker initialized successfully! [argon:69]
TRACE: Creating snapshot of [...]/src/ReplicatedFirst [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/ReplicatedStorage [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/ServerScriptService [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/ServerScriptService/MatchmakingTask [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/ServerScriptService/MatchmakingTask/MatchmakingServer [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/ServerScriptService/MatchmakingTask/MatchmakingServer/Match.luau [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/ServerScriptService/MatchmakingTask/MatchmakingServer/KillerProbability.luau [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/ServerScriptService/MatchmakingTask/.data.json [argon::middleware:146]
TRACE: Snapshot of [...]/src/ServerScriptService/MatchmakingTask/.data.json not created: no middleware matched [argon::middleware:154]
TRACE: Creating snapshot of [...]/src/ServerScriptService/BankingServer [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/ServerStorage [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/StarterGui [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/StarterPack [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/StarterPlayer/StarterCharacterScripts [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/StarterPlayer/StarterPlayerScripts [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/Workspace [argon::middleware:146]
TRACE: Creating snapshot of [...]/src/Workspace/.data.json [argon::middleware:146]
TRACE: Snapshot of [...]/src/Workspace/.data.json not created: no middleware matched [argon::middleware:154]
TRACE: Building Tree and Queue [argon::core:53]
TRACE: Starting Processor [argon::core:59]
TRACE: Core initialized successfully! [argon::core:69]
WARN: Port 8000 is already in use, using 8001 instead!
ERROR: Command execution failed: Permission denied (os error 13)

Running as root does work but it complicates my workflow since files that are synced back will be owned by root preventing write by my user.

edrf12 avatar Aug 12 '24 01:08 edrf12