[MacPorts] #71564: libnetpbm @11.08.02: chown: Operation not permitted
MacPorts
noreply at macports.org
Fri Dec 20 18:01:41 UTC 2024
#71564: libnetpbm @11.08.02: chown: Operation not permitted
--------------------------+------------------------
Reporter: AgilentGCMS | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: libnetpbm |
--------------------------+------------------------
Comment (by AgilentGCMS):
Replying to [comment:17 ryandesign]:
> It gets the user and group from the prefix directory, in your case
/Users/sbasu1/packages/macports/sonoma. Presumably when you last ran
selfupdate, that directory was owned by the admin group.
> ...
> I think that should be fine. You can `chmod` it to 644, change it, and
`chmod` it back. Provided you've changed the group of
/Users/sbasu1/packages/macports/sonoma back to `staff` it should survive
future selfupdates.
That's also puzzling, because when I installed macports it got installed
as `sbasu1:staff` (going by the `port_autoconf.tcl` recovered from my
September backup, and my `./configure` options), and currently the
ownership of `/Users/sbasu1/packages/macports/sonoma` is still
`sbasu1:staff` with permission 755, and I haven't manually tinkered with
that because I never had a reason to. So I have no idea where `port
selfupdate` got the `admin` group.
I can confirm that manually changing the group to `staff` in
`port_autoconf.tcl` works, i.e., `libnetpbm` upgrades successfully. I'll
see what happens next time I `port selfupdate`. In the meantime, thanks
for all the help :-)
--
Ticket URL: <https://trac.macports.org/ticket/71564#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list