summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-11-13 19:43:19 +0100
committerCarl Hetherington <cth@carlh.net>2021-11-13 22:54:11 +0100
commite73bdba5ec83e63dd69bd506884095b78e5dde75 (patch)
tree6cdc35f82e49d0a824b5aafd3940ae6ca2e38a41 /wscript
parent5e74e417e8b3d4e9773d0fad97cf11a5c4eeeccf (diff)
Remove setuid root and use setcap instead in RPM packages.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 0 insertions, 4 deletions
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')