Commit c72fe078 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor change; Add umask(0002) call so that log and intermediate files

are created 664, so that group members other than the experiment
creator can swap them.
parent 35038e93
......@@ -40,6 +40,13 @@ my @row;
#
$| = 1;
#
# Set umask for start/swap. We want other members in the project to be
# able to swap/end experiments, so the log and intermediate files need
# to be 664 since some are opened for append.
#
umask(0002);
#
# Untaint the path
#
......
......@@ -59,6 +59,13 @@ my $debug = 1;
#
$| = 1;
#
# Set umask for start/swap. We want other members in the project to be
# able to swap/end experiments, so the log and intermediate files need
# to be 664 since some are opened for append.
#
umask(0002);
#
# Untaint the path
#
......
......@@ -52,6 +52,13 @@ delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
#
$| = 1;
#
# Set umask for start/swap. We want other members in the project to be
# able to swap/end experiments, so the log and intermediate files need
# to be 664 since some are opened for append.
#
umask(0002);
#
# Parse command arguments. Once we return from getopts, all that should
# left are the required arguments.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment