Skip to content
This repository

--auto-sudo #201

Open
miyagawa opened this Issue · 0 comments

1 participant

Tatsuhiko Miyagawa
Tatsuhiko Miyagawa
Owner

Wonder who suggested, but this once came up on some IRC channel:

--sudo option always does sudo upon installation, which is not desired if a user has a write bit to the install location i.e. using a locally installed perlbrew or running cpanm as a root.

There should probably be a more DWIM --audo-sudo option, which only runs sudo if a user doesn't have a write bit to the install location.

In the future this may better be the default, unless the running user is root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.