[
https://issues.apache.org/jira/browse/TS-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293391#comment-13293391
]
Jan-Frode Myklebust commented on TS-1295:
-----------------------------------------
Oh, sorry, I must have done a cut'n'paste error. You're mostly right. But got
the install-data-hook backwards. It should be ==:
{noformat}
install-data-hook:
- -chown -R $(pkgsysuser):$(pkgsysgroup) $(DESTDIR)$(pkgsysconfdir)
$(DESTDIR)$(pkgdatadir)
+ if [ `id -un` == "root" ]; then \
+ chown -R $(pkgsysuser):$(pkgsysgroup)
$(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgdatadir);\
+ fi
-echo "<TS_VERSION> $(PACKAGE_VERSION)" >
$(DESTDIR)$(pkgsysconfdir)/trafficserver-release
{noformat}
> make install should work as non-root user
> -----------------------------------------
>
> Key: TS-1295
> URL: https://issues.apache.org/jira/browse/TS-1295
> Project: Traffic Server
> Issue Type: Improvement
> Components: Build
> Reporter: Jan-Frode Myklebust
> Assignee: Leif Hedstrom
> Priority: Trivial
> Fix For: 3.3.0
>
> Attachments: 0001-Enabling-installing-as-non-root.patch, TS-1295.diff
>
>
> "make install" should work as non-root user. Requirng root is bad practice
> and causes problems for the fedora build system.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira