atsign-foundation / noports

Connect to any device with no external listening ports open
https://noports.com
BSD 3-Clause "New" or "Revised" License
272 stars 15 forks source link

universal.sh install issues macOS 15.01, M1 processor #1478

Open kimdimick opened 2 weeks ago

kimdimick commented 2 weeks ago

Describe the bug

chown errors or warning messages

Steps to reproduce

  1. First I ran the universal.sh script on a mac mini as root (sudo).
  2. Then I selected device.
  3. And then I answered the question.
  4. When the script was completing the installation I saw chown errors and some warning messages.

universial.sh script output.

=> Installed at_activate to /usr/local/bin chown: kdimick: illegal group name chown: kdimick: illegal group name Warning: Expecting a LaunchDaemons path since the command was ran as root. Got LaunchAgents instead. launchctl bootout is a recommended alternative. Unload failed: 5: Input/output error Try running launchctl bootout as root for richer errors. Warning: Expecting a LaunchDaemons path since the command was ran as root. Got LaunchAgents instead. launchctl bootstrap is a recommended alternative. sshnpd installed with launchd

Expected behavior

I didn't expect to see the chown message and the warnings messages.

Screenshots

No response

Smartphones

Were you using an atApplication when the bug was found?

No response

Additional context

No response

XavierChanth commented 6 days ago

Macos shouldn't be run as root, will add a guard clause