[
https://issues.apache.org/jira/browse/TEZ-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206500#comment-15206500
]
Hitesh Shah commented on TEZ-3182:
----------------------------------
[~shenxianqiang] would it be possible for you to supply a patch for this which
allows a maven property to control whether root is allowed. By default, root
would be disabled but the patch should allow a user to set either a mvn
property or enable a profile to allow such builds.
\cc [~Sreenath] any concerns with the above approach?
> linux superuser use maven compile bower always fail
> ---------------------------------------------------
>
> Key: TEZ-3182
> URL: https://issues.apache.org/jira/browse/TEZ-3182
> Project: Apache Tez
> Issue Type: Bug
> Components: UI
> Affects Versions: 0.6.2, 0.8.2
> Environment: linux rh6
> Reporter: shenxianqiang
> Priority: Trivial
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> When I am root. Using 'mvn clean package -DskipTests=true' command always
> fail.
> [INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui ---
> bower ESUDO Cannot be run with sudo
> Additional error details:
> Since bower is a user command, there is no need to execute it with superuser
> permissions.
> If you're having permission errors when using bower without sudo, please
> spend a few minutes learning more about how your system should work and make
> any necessary repairs.
> http://www.joyent.com/blog/installing-node-and-npm
> https://gist.github.com/isaacs/579814
> You can however run a command with sudo using --allow-root option
> I have to modify pom.xml.Why not modify pom.xml in future?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)