From: Carl Hetherington Date: Fri, 3 Apr 2020 21:07:27 +0000 (+0200) Subject: Try to do setuid for disk_writer on macOS. X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=20435d662926e7b3227e8d3167841caad184f85a;p=dcpomatic.git Try to do setuid for disk_writer on macOS. --- diff --git a/wscript b/wscript index a94fee8ba..e0399ad71 100644 --- a/wscript +++ b/wscript @@ -695,6 +695,7 @@ def create_version_cc(version, cxx_flags): def post(ctx): if ctx.cmd == 'install' and ctx.env.TARGET_LINUX: ctx.exec_command('/sbin/ldconfig') + if ctx.cmd == 'install' and (ctx.env.TARGET_LINUX or ctx.env.TARGET_OSX): # setuid root executables for e in ['dcpomatic2_uuid', 'dcpomatic2_disk_writer']: # I can't find anything which tells me where things have been installed to,