3 Dec
2013
3 Dec
'13
8:02 a.m.
2 dec 2013 kl. 19:12 skrev Mitchell J Laurren-Ring <lists@rynosoft.com>:
The problem is that my postflight script is running as root which results in the launchctl command being executed as root, leading to the problem with not being able to access the default printer.
This is because the installer and the user’s session aren’t in the same bootstrap context. Details here, read carefully: https://lists.macosforge.org/pipermail/launchd-dev/2011-January/000890.html The script I use is here: https://github.com/MagerValp/Scripted-Mac-Package-Creation/blob/master/scrip... -- Per Olofsson, IT-service, University of Gothenburg