joyent/node — Issue #2427: OS X .pkg installer might not need root
Author: cowboy
Created: 2011-12-28 00:09:35+00:00
State: open

When installing via OS X .pkg installer, is there any way to remove root auth or only require root auth if the installer actually needs it? On OS X 10.7, I can `touch /usr/local/bin/foo` without `sudo`, so the `node-v0.6.6.pkg` installer shouldn't need root either, right?

(I'm trying to automate installation)

```sh
$ installer -pkg /tmp/node-v0.6.6.pkg -target /
installer: Must be run as root to install this package.

$ sudo installer -pkg /tmp/node-v0.6.6.pkg -target /
Password:
installer: Package name is Node
installer: Upgrading at base path /
installer: The upgrade was successful.
```