|
@@ -275,11 +275,13 @@ class Benchmarker:
|
|
|
|
|
|
# Give testrunner permission to write into results directory
|
|
|
# so LOGDIR param always works in setup.sh
|
|
|
- # While 664 is more preferrable, we would have to ensure that
|
|
|
+ # While 775 is more preferrable, we would have to ensure that
|
|
|
# testrunner is in the group of the current user
|
|
|
if not self.os.lower() == 'windows':
|
|
|
- mode666 = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH | stat.S_IWOTH
|
|
|
- os.chmod(path, mode666)
|
|
|
+ mode777 = (stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR |
|
|
|
+ stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP |
|
|
|
+ stat.S_IROTH | stat.S_IWOTH | stat.S_IXOTH)
|
|
|
+ os.chmod(path, mode777)
|
|
|
return path
|
|
|
|
|
|
############################################################
|