[Interest] Removing files/folders in /Applications under macOS
Thiago Macieira
thiago.macieira at intel.com
Fri Nov 29 07:14:41 CET 2019
On Thursday, 28 November 2019 12:30:05 PST Roman Wüger wrote:
> @thiago: it works with sudo when I do something like „sudo
> /Applications/MyBundle.app/Contents/MacOS/MyBundle“ but not if I try „sudo
> open /Applications/MyBundle.app“
Apparently, the "open" command doesn't pass on the increased privileges to the
application it launches.
> Normally when I empty my trash, where an application was moved into the
> trash, then a dialog appears to enter the credentials of a privileged user.
>
> I thought this can also be done with Qt - call a default dialog for this
> situation.
There's no such feature, especially not in the QtCore module. You have to code
the privilege augmentation yourself.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
More information about the Interest
mailing list