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
@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“
Normally when I empty my trash, where an application was moved into the trash,
then a dialog appears to enter the credentials
i believe you must provide an "entitlement" for that
https://developer.apple.com/library/archive/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/AboutEntitlements.html
Hello Thiago,
At first, thanks for the quick reply.
when I run a simple bash script it works when I run it with sudo.
When I run my Qt application with sudo, then the removeRecursively() only
returns false but do not remove anything.
However, I thought that it tries to gain access where dialog
On Wednesday, 27 November 2019 04:56:02 PST Roman Wüger wrote:
> I’m not able to remove files/dies in /Applications programmatically.
Why not? What was the error? Were you running your application as root?
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System
Hello,
I already tried it with QDir and removeRecursively() but it won’t work under
macOS.
I’m not able to remove files/dies in /Applications programmatically.
Any hints about that?
Thanks in advance
Regards
Roman
___
Interest mailing list