summaryrefslogtreecommitdiffstats
path: root/tools/dbus_exporter.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
commit78e9bb837c258ac0ec7712b3d612cc2f407e731e (patch)
treef515d16b6efd858a9aeb5b0ef5d6f90bf288283d /tools/dbus_exporter.py
parentAdding debian version 255.5-1. (diff)
downloadsystemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.tar.xz
systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.zip
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/dbus_exporter.py')
-rwxr-xr-xtools/dbus_exporter.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dbus_exporter.py b/tools/dbus_exporter.py
index 819584d..db95a58 100755
--- a/tools/dbus_exporter.py
+++ b/tools/dbus_exporter.py
@@ -36,6 +36,8 @@ def main():
args = parser.parse_args()
args.output.mkdir(exist_ok=True)
+ # Make sure we don't inherit any setgid/setuid bit or such.
+ args.output.chmod(mode=0o755)
for exe in args.executables:
extract_interfaces_xml(args.output, exe)