mirror of
https://github.com/andreas-abel/nanoBench.git
synced 2026-01-06 04:10:56 +01:00
file ownerships
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import random
|
||||
|
||||
from plotly.offline import plot
|
||||
@@ -123,6 +124,7 @@ def main():
|
||||
with open(args.output ,'w') as f:
|
||||
f.write('\n'.join(html))
|
||||
print('Output written to ' + args.output)
|
||||
os.chown(args.output, int(os.environ['SUDO_UID']), int(os.environ['SUDO_GID']))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user