Replies: 2 comments
-
brew for example is a third party app so could have all sorts of oddities, essentially you need to figure out how to run brew as root. I chatgpt'd it, see below - When you run the If you're encountering issues with
Remember, running Homebrew as root can lead to security risks and is against its recommended usage. It's best to troubleshoot the issue without resorting to root privileges. |
Beta Was this translation helpful? Give feedback.
-
Also su - [username] -c "/path/to/script.sh" Replace I'm sure we could do some more to try and determine the currently logged in user etc. A good discussion for the Discord #script channel |
Beta Was this translation helpful? Give feedback.
-
I'm finding some problems with running macOS bash scripts through TRMM.
Updating brew is impossible because it doesn't find the users $PATH
Basically anything that required the user prompt fails unless I'm doing something wrong?
Is there a workaround for this?
Beta Was this translation helpful? Give feedback.
All reactions