From e73bdba5ec83e63dd69bd506884095b78e5dde75 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 13 Nov 2021 19:43:19 +0100 Subject: Remove setuid root and use setcap instead in RPM packages. --- wscript | 4 ---- 1 file changed, 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index cfc47d6cc..5c729bd43 100644 --- a/wscript +++ b/wscript @@ -664,10 +664,6 @@ def create_version_cc(version, cxx_flags): def post(ctx): if ctx.cmd == 'install' and ctx.env.TARGET_LINUX: ctx.exec_command('/sbin/ldconfig') - # setuid root executable - exe = os.path.join(ctx.env['INSTALL_PREFIX'], 'bin/%s/dcpomatic2_disk_writer') - if os.path.exists(exe): - os.chmod(exe, 0o4755) def pot(bld): bld.recurse('src') -- cgit v1.2.3