summaryrefslogtreecommitdiffstats
path: root/tools/dbus_exporter.py
diff options
context:
space:
mode:
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)