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

Re: [HTCondor-users] Problem getting user's home instead of tmp dir as initial directory when submitting jobs



You need to set the configuration parameter FILESYSTEM_DOMAIN to the same value on both machines. This tells HTCondor that the machines have a common shared filesystem. Then, the Execution Point will run the job in the directory given by initialdir in your submit file.

 - Jaime

On Sep 30, 2025, at 7:31âAM, Peter LÃnnerberg via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:

Hi,
I have set up a combined admin/submit role on one machine [master] and an execute role on a second machine [slave]. When submitting an interactive job I want to end up in the user's shared home directory, but instead I end up in a tmp dir. How to solve this?

[master ~]$ condor_submit -interactive getenv=True initialdir=/home/peter
Submitting job(s).
1 job(s) submitted to cluster 93.
Waiting for job to start...
You will be logged out after 7200 seconds of inactivity.
[peter@slave dir_122660]$

My config.d/00-security contains:

if version >= 23.10.0
    use security:recommended
else
    use security:recommended_v9_0
endif
UID_DOMAIN = *
TRUST_UID_DOMAIN = True
STARTER_ALLOW_RUNAS_OWNER = True
SUBMIT_ATTRS = RunAsOwner
RunAsOwner = True



(BTW I know UID_DOMAIN = * is bad...)


Thanks for any help or ideas.

Peter LÃnnerberg
Linnarsson Lab
Laboratory of Molecular Neurobiology
Dept. of Medical Biochemistry and Biophysics
Karolinska Institutet
SE-171 77 Stockholm
Sweden


NÃr du skickar e-post till Karolinska Institutet (KI) innebÃr detta att KI kommer att behandla dina personuppgifter. HÃr finns information om hur KI behandlar personuppgifter. 

Sending email to Karolinska Institutet (KI) will result in KI processing your personal data.You can read more about KIâs processing of personal data here. 
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe

The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/