Skip to content
Snippets Groups Projects
Commit eb2263d0 authored by Alex Buts's avatar Alex Buts
Browse files

Re #13217 Enabled change of ownership as threading on admin script

looks complicated
parent f39c69ae
No related branches found
No related tags found
No related merge requests found
...@@ -351,8 +351,8 @@ class MantidConfigDirectInelastic(object): ...@@ -351,8 +351,8 @@ class MantidConfigDirectInelastic(object):
self._copy_and_parse_user_file(input_file,output_file,replacement_list) self._copy_and_parse_user_file(input_file,output_file,replacement_list)
os.chmod(output_file,0777) os.chmod(output_file,0777)
#if platform.system() != 'Windows': if platform.system() != 'Windows':
# os.system('chown '+self._fedid+':'+self._fedid+' '+output_file) os.system("chown {0}:{0} {1}".format(self._fedid,output_file))
# Set up the file creation and modification dates to the users start date # Set up the file creation and modification dates to the users start date
start_date = self._user.start_date start_date = self._user.start_date
file_time = time.mktime(start_date.timetuple()) file_time = time.mktime(start_date.timetuple())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment