Opened 19 years ago

Closed 18 years ago

#6411 closed defect (wontfix)

BUG: Permissions problem when adding files to filemap

Reported by: ottomaddox@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: olegb@…
Port:

Description

I have DP installed with the default owner:group of root:admin, and permissions 775. I am in the admin group, so evidently, this means I should be able to install ports without using sudo.

The default permissions for files under /opt/local/var/db/dports/receipts is 755. This means that when I do a non-sudo port install, the installed/activated files don't get added to the filemap. This does not trigger an error, but DP registers the port as installed. So the files from the port get installed under /opt/ local/bin, etc, but DP doesn't know that they're there. Therefore, DP has lost knowledge of these files and uninstalling the port doesn't remove them.

Change History (4)

comment:1 Changed 19 years ago by mww@…

Summary: Permissions problem when adding files to filemapBUG: Permissions problem when adding files to filemap

comment:2 Changed 19 years ago by olegb@…

ahm, this sounds strange.

Are you able to give me some output to show this ?

comment:3 Changed 19 years ago by olegb@…

Cc: olegb@… added

comment:4 Changed 18 years ago by pguyot (Paul Guyot)

Resolution: wontfix
Status: newclosed

I have DP installed with the default owner:group of root:admin, and permissions 775. I am in the admin group, so evidently, this means I should be able to install ports without using sudo.

No, we don't support this. DP installations can either belong to the user or to root (you can choose this with --install-user configure parameter), but they cannot belong to several users.

If this is a feature you want, please file a request.

Note: See TracTickets for help on using tickets.