Thank you for replying.
My default umask seems to be 0002, which is a bit confusing since, as you say, this is not the default for Centos 7.
I have changed the worker nodes to mount using nfs version 3 for the time being. This has solved the issue. I will try out your suggestion later with USER_JOB_WRAPPER and version 4 for NFS.
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
On Behalf Of Mark Coatsworth
I just discussed this with a couple of the other developers here. Our guess is that because Centos 6 uses init to launch processes, and Centos 7 uses systemd, the latter probably has more restrictive default security settings.
What's the default umask value on your execute nodes? You can tell this by running "umask" from a terminal. I'm also using Centos 7 over here and the default value is 0022, which based on my understanding, means that files by default are written with 755 permissions and hence cannot be written to by users who aren't owners.
A first thing to try would be set your USER_JOB_WRAPPER configuration option to a shell script which sets the umask value to 0000 (umask 0000). This should write files to NFS with 777 permissions which then everybody can write to. If this works, you can then tweak it to the exact security settings you want.
Please give this a try and let us know. If that doesn't fix it we can look into other approaches.
On Tue, Aug 7, 2018 at 2:34 AM, Peter Ellevseth <Peter.Ellevseth@xxxxxxxxxx> wrote:
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin-Madison
+1 608 206 4703