My application acts as a wrapper to another app and would be installed to the Applications folder normally from the Mac App Store.
Part of its functionality is to rename one of its files (inside the wrapped app) which I use the Unix mv command to do as an external process. Outside of the Applications folder this works fine but when it's installed in the Applications folder of course, it gets permission denied as the user would normally need to authorise any access with their login.
Is there any way my application can prompt this login to get permission to rename the file? (Effectively I'm trying to do a sudo for my mv command. Ideal scenario is without a login, but I can see why this would classify as a security/safety issue).