Opened 15 years ago

Closed 15 years ago

#19863 closed defect (fixed)

mmencode hardcodes root privilages

Reported by: marcin.zalewski@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: marcin.zalewski@…
Port: mmencode

Description

I am trying to install mmencode in my local (non-root) port tree, but the need for root privileges:

destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
37	                  system "install -o root -m 755 ${worksrcpath}/mmencode \
38	                    ${destroot}${prefix}/bin"
39	                  system "install -o root -m 755 -d \
40	                    ${destroot}${prefix}/share/man/man1"
41	                  system "install -o root -m 644 \
42	                    ${worksrcpath}/../man/mmencode.1 \
43	                    ${destroot}${prefix}/share/man/man1" }

Note the "-o root" sprinkled around. I am not sure what would be the MacPorts way to handle this, but it should not be difficult.

Change History (2)

comment:1 Changed 15 years ago by marcin.zalewski@…

Cc: marcin.zalewski@… added

Cc Me!

comment:2 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Fixed in r51935.

Note: See TracTickets for help on using tickets.