We use the macOS sandbox to stop this but this doesn’t work when run as the root user (which also has read and write access to almost everything on the system).ĭid you chown root /Applications/TextMate.app? Probably not. And indeed, we’ve seen some build scripts try to modify /usr even when the prefix was specified as something else entirely. It could modify (or upload) any files on your system. Of course, you can trust Homebrew □ - but do you trust the multi-megabyte Makefile that Homebrew runs? Developers often understand C++ far better than they understand make syntax. You should only ever sudo a tool you trust. Tl dr Sudo is dangerous, and you installed TextMate.app without sudo anyway. If you do not yourself have admin privileges, consider asking your admin staff to create a linuxbrew role account for you with home directory /home/linuxbrew. The prefix /home/linuxbrew/.linuxbrew was chosen so that users without admin access can still benefit from precompiled binaries via a linuxbrew role account. Why is the default installation prefix /home/linuxbrew/.linuxbrew on Linux? The prefix /opt/homebrew was chosen to allow installations in /opt/homebrew for Apple Silicon and /usr/local for Rosetta 2 to coexist and use bottles. Pick another prefix at your peril! Why is the default installation prefix /opt/homebrew on Apple Silicon?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |