[MacPorts] #60680: macOS 10.15.5: microphone and camera privacy permissions don't work anymore with .app
MacPorts
noreply at macports.org
Fri Jun 19 03:13:18 UTC 2020
#60680: macOS 10.15.5: microphone and camera privacy permissions don't work anymore
with .app
----------------------+--------------------
Reporter: ra1nb0w | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: pihpsdr |
----------------------+--------------------
Changes (by ryandesign):
* cc: ryandesign (added)
Comment:
Replying to [ticket:60680 ra1nb0w]:
> The problem seems related to the fact that the {{{CFBundleExecutable}}}
is a symbolic link
It never crossed my mind that that might be a problem. Have you found any
documentation stating that using a symlink as the executable is not
supported? I found https://developer.apple.com/forums/thread/108024 which
says codesigning will not work if the executable is a symlink. We don't
codesign in MacPorts so that's not a problem, but maybe it points to a
more general problem with trying to use symlinks.
If that's so, then we'll have to audit all portfiles that use the app 1.0
portgroup to find the ones that are using the feature of the portgroup
that lets the executable be a symlink; modify those ports so that the
executable is the real file and maybe put a symlink of it in ${prefix}/bin
for example or maybe use hard links instead as you suggested; and change
the app portgroup to no longer use or allow symlinks. It could be an
opportunity to introduce a new app 1.1 portgroup, that way ports can
switch to it gradually and we don't have to do everything at once. Other
behaviors and defaults could change in 1.1 as well; for example retina
mode could be enabled by default.
--
Ticket URL: <https://trac.macports.org/ticket/60680#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list