[MacPorts] #71564: libnetpbm @11.08.02: chown: Operation not permitted

MacPorts noreply at macports.org
Fri Dec 20 16:09:22 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 Dave-Allured):

 @ryandesign My first approach was to skip `chown` when running as non-
 root.  I think a better approach would be to always try `chown`, then
 ignore errors.  Can you show me how to encapsulate `chown` so that errors
 are ignored, rather than breaking the build?

-- 
Ticket URL: <https://trac.macports.org/ticket/71564#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list