[MacPorts] #36950: Local Port Repo Instructions Should Address Permissions Issue
#36950: Local Port Repo Instructions Should Address Permissions Issue --------------------+-------------------------------- Reporter: dave@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: --------------------+-------------------------------- The many tickets complaining of permissions issues on local portfile repos are evidence that the instructions at http://guide.macports.org/chunked/development.local-repositories.html should be updated. In particular, it may well be that the requirement that portfiles be readable by "nobody" make it inappropriate for most users to store the ports under their home directories, as the ticket suggests. Also, the ticket should suggest specific permissions and ownership for local portfile repos that will help avoid this issue, and suggest {{{sudo -u nobody ls <directory>}}} as a test -- Ticket URL: <https://trac.macports.org/ticket/36950> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36950: Local Port Repo Instructions Should Address Permissions Issue ---------------------+--------------------- Reporter: dave@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: guide | Version: 2.1.2 Resolution: | Keywords: Port: | ---------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => markd@… * component: ports => guide Comment: Yes, ever since we merged the [wiki:gsoc08-privileges GSoC '08 privilege- dropping branch] into trunk, those instructions have been out of date. I don't know how the instructions need to be changed to make them valid again. If anybody else does, patches to the [browser:trunk/doc- new/guide/xml guide XML files] would be welcome. BTW it's not the "nobody" user that needs to be able to read the portfiles; it's the "macports" user. -- Ticket URL: <https://trac.macports.org/ticket/36950#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36950: Local Port Repo Instructions Should Address Permissions Issue ---------------------+--------------------- Reporter: dave@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: guide | Version: 2.1.2 Resolution: | Keywords: Port: | ---------------------+--------------------- Comment (by dave@…): For me, locating the repository under {{{/Library/}}} was enough to make it work. -- Ticket URL: <https://trac.macports.org/ticket/36950#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36950: Local Port Repo Instructions Should Address Permissions Issue ---------------------+--------------------- Reporter: dave@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: guide | Version: 2.1.2 Resolution: | Keywords: Port: | ---------------------+--------------------- Comment (by egall@…): I think #38216 is a duplicate of this -- Ticket URL: <https://trac.macports.org/ticket/36950#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#36950: Local Port Repo Instructions Should Address Permissions Issue ---------------------+---------------------- Reporter: dave@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: guide | Version: Resolution: | Keywords: Port: | ---------------------+---------------------- Changes (by larryv@…): * owner: markd@… => larryv@… * status: new => assigned * version: 2.1.2 => Comment: I opened #38216 for my todo list. I guess I’ll just take this one instead. -- Ticket URL: <https://trac.macports.org/ticket/36950#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#36950: Local Port Repo Instructions Should Address Permissions Issue ---------------------+---------------------- Reporter: dave@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: guide | Version: Resolution: | Keywords: Port: | ---------------------+---------------------- Comment (by jmr@…): Replying to [comment:1 ryandesign@…]:
BTW it's not the "nobody" user that needs to be able to read the portfiles; it's the "macports" user. It's whatever macportsuser is set to in macports.conf.
-- Ticket URL: <https://trac.macports.org/ticket/36950#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts