4 ms·
The sudo permission should be added by brew at install time (see how the dotnet SDK handles installation on macs), it's poor ergonomics to have to invoke it man
by KRAKRISMOTT 2y ago
The sudo permission should be added by brew at install time (see how the dotnet SDK handles installation on macs), it's poor ergonomics to have to invoke it manually.
- Jtsummers 2y agoThe sudo is for the runtime permissions, not the installation, of the program. dotnet requires (does it? it's been a while since I touched it but I vaguely recall this) sudo for installation, but not for execution.
- jasomill 2y agoRegarding .NET: • .NET installers install to systemwide locations and therefore typically require elevated privileges. • Microsoft supplies both install scripts (dotnet-install) and .tar.gz/.zip archives to support unprivileged installation to arbitrary locations on all supported platforms. • The SDK and self-contained .NET executables run from anywhere, but certain SDK functionality may require elevated privileges on some platforms (e.g., installing a trusted self-signed developer certificate). • Framework-dependent executables use the DOTNET_ROOT environment variable to locate runtime components installed in a non-default location.
- jfjaksk 2y agopoor ergnomics? yes? but u know what's worse? setuid root executables.
- valbaca 2y agoit's the same for htop