Opened 11 years ago
Last modified 10 years ago
#42125 new defect
traceroute: can't install when MacPorts is not installed as root
Reported by: | rudloff@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | traceroute |
Description
Hello,
I get an error when I try to install traceroute:
install: /Users/prudloff/opt/var/macports/build/_Users_prudloff_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_traceroute/traceroute/work/destroot/Users/prudloff/opt/sbin/traceroute: chown/chgrp: Operation not permitted
Attachments (1)
Change History (5)
Changed 11 years ago by rudloff@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 follow-up: 4 Changed 11 years ago by rudloff@…
install_asroot does not seem to exist:
Failed to parse file net/traceroute/Portfile: invalid command name "install_asroot"
Did you mean install.asroot ? I am not root on this system so it won't change anything though.
comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Can't install traceroute → traceroute: can't install when MacPorts is not installed as root |
---|
Replying to rudloff@…:
install_asroot does not seem to exist:
Failed to parse file net/traceroute/Portfile: invalid command name "install_asroot"Did you mean install.asroot ?
Yes I suppose I did.
I am not root on this system so it won't change anything though.
Ah.
Note: See
TracTickets for help on using
tickets.
Traceroute apparently needs to be installed as root with the setuid bit, judging from the Makefile.
Does adding the line "
install_asroot yes
" to the portfile help?