Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#1906 closed defect (fixed)

images: incorrect directory permissions set on install

Reported by: danielluke (Daniel J. Luke) Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

When I install ports with the images branch by doing 'port -d -v destroot' and then later 'sudo port -d -v install', the ${prefix}/bin, ${prefix}/include, ${prefix}/lib, and ${prefix}/share directories get set to 700 permissions (instead of 755).

It looks like it's just happening with the top level directories under ${prefix} that the port is installing files into.

Change History (3)

comment:1 Changed 20 years ago by blb@…

Just to add some info, I've seen similar issues; was going to try and figure out why, but haven't had a chance as yet.

Basically, if I destroot as me, I see the same locked-down permissions that Daniel sees; when I destroot as root, it becomes much more open, too much so in fact. I have changed /etc/ports/prefix.mtree to use 755 (as well as everything under ${prefix}), but some directories still get group-write ability, when destrooting (and installing) as root.

comment:2 Changed 20 years ago by pguyot (Paul Guyot)

Owner: changed from darwinports-bugs@… to pguyot@…

comment:3 Changed 20 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.