Fix permission on working directory

The working directory needs the x flag, otherwise executors (e.g. sparks executor) are unable to cd into their sandbox and create e.g. temporary files.
This commit is contained in:
Thomas Karolski
2018-03-21 02:26:04 +01:00
committed by GitHub
parent eda6b9553b
commit e5073bcb80

View File

@@ -213,7 +213,7 @@ in {
PermissionsStartOnly = true;
};
preStart = ''
mkdir -m 0700 -p ${cfg.workDir}
mkdir -m 0701 -p ${cfg.workDir}
'';
};
};