All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit f26a255d authored by Robert Ricci's avatar Robert Ricci

chmod g+w the file we download, so that others in the group can

overwrite it.
parent acad9489
......@@ -32,6 +32,7 @@ my $FSDIR_GROUPS = "@FSDIR_GROUPS@";
# Locals
my $WGET = "/usr/local/bin/wget";
my $REALPATH = "/bin/realpath";
my $CHMOD = "/bin/chmod";
#
# Turn off line buffering on output
......@@ -177,5 +178,12 @@ if (($exit_status & 0xff) == SIGKILL) {
exit(15);
}
#
# Change the permissions on the file so that other group members can overwrite
# it
#
system("$CHMOD g+w $localfile")
or die ("*** ERROR - Unable to change permissions on $localfile!");
exit($exit_status >> 8);
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