diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-13 19:43:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-13 22:54:11 +0100 |
| commit | e73bdba5ec83e63dd69bd506884095b78e5dde75 (patch) | |
| tree | 6cdc35f82e49d0a824b5aafd3940ae6ca2e38a41 /cscript | |
| parent | 5e74e417e8b3d4e9773d0fad97cf11a5c4eeeccf (diff) | |
Remove setuid root and use setcap instead in RPM packages.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -408,6 +408,7 @@ def make_spec(filename, version, target, options, requires=None): print('', file=f) print('%post', file=f) print('/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :', file=f) + print('setcap "cap_dac_override+ep cap_sys_admin+ep" /usr/bin/dcpomatic2_disk_writer', file=f) print('', file=f) print('%postun', file=f) print('if [ $1 -eq 0 ] ; then', file=f) |
