Commit 573a98e2 authored by Robert Ricci's avatar Robert Ricci

The workdir has to be world readable, so that mysqld can get into

it.
parent 8b48062c
......@@ -208,10 +208,10 @@ if (! -e "$GRPROOT/$pid") {
my $workdir = TBDB_EXPT_WORKDIR() . "/$pid";
if (! -e $workdir) {
if (! mkdir("$workdir", 0770)) {
if (! mkdir("$workdir", 0775)) {
fatal("Could not make directory $workdir: $!");
}
if (! chmod(0770, "$workdir")) {
if (! chmod(0775, "$workdir")) {
fatal("Could not chmod directory $workdir: $!");
}
if (! chown($uid, $gid, "$workdir")) {
......
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