[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] File permission on jobstate.log



On Thu, 16 Oct 2014, Renaud Guezennec wrote:

I would like to know how to define the permission of the file jogstate.log
(defined by JOBSTATE_LOG).
The file is created with those permission: -rw------- and we would like
something like: -rw-rw-rw--
Do you have any idea to add right/write rights to group and others ?

The permissions with which this file is created is determined by your umask, so there's no way to change the permissions for this file without changing permissions for other files that you create.

However, once the DAG starts running and creates the jobstate.log file, you can do a chmod on the file (you can't create the file ahead of time and chmod it before running condor_submit_dag, though).

Kent Wenger
CHTC Team