[MacPorts] #53387: Pextlib/xinstall : don't ignore directory chmod errors silently

MacPorts noreply at macports.org
Wed Jan 25 13:35:22 UTC 2017


#53387: Pextlib/xinstall : don't ignore directory chmod errors silently
-------------------------+-----------------
 Reporter:  RJVB         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  base         |    Version:
 Keywords:  haspatch     |       Port:
-------------------------+-----------------
 As discussed on the ML, Pextlib's InstallCmd() (xinstall callback) ignores
 errors that occur setting the requested or default permissions. That's
 probably not a good idea; the attached patch adds error handling that's
 near-identical to handling fchmod() errors elsewhere in the same file.

 I have not removed the patch hunks that add a verbose (-v) mode to
 xinstall, you can take them as a FYI.

--
Ticket URL: <https://trac.macports.org/ticket/53387>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list