Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#1407 closed defect (fixed)

BUG: incorrect perms

Reported by: julien.touche@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

DP doesn't handle default umask in install and when doing port destroot so you can have some crazy rights in your prefix. it is necessary that, in default, configure & destroot ensure umask 022 and could eventually be define at install and in ports.conf to be something else.

DP lacks also a mecanism to ensure consistency of permission and owner/group between ports. mainly when port has not make install a macro/proc install_(program|script|man|data)(?_dir) and corresponding optional vars in ports.conf would be very intersting. same for owner/group. else the only thing to do is system "install -bC ..." and no check on perms.

Change History (1)

comment:1 Changed 21 years ago by toby@…

Resolution: fixed
Status: newclosed

Generally we'll honor the permissions 'make install' wants to use. Otherwise, xinstall does what you describe in the second paragraph.

Note: See TracTickets for help on using tickets.