[slurm-users] User permissions on submitted jobs

Aravindh Sampathkumar aravindh at fastmail.com
Thu Oct 18 13:57:32 MDT 2018

Hi Ole,

Thanks for the response.

 It was indeed a matter of UIDs and GIDs. Even though I had FreeIPA configured to serve identities to all nodes, the login node I was trying to submit the job from had an additional entry in /etc/passwd file that overruled the FreeIPA source. Which caused the confusion. 

'username' was just me masking the real username before pasting the console logs to the mail list. 

  Aravindh Sampathkumar
  aravindh at fastmail.com

On Wed, Oct 17, 2018, at 9:45 PM, Ole Holm Nielsen wrote:
> On 17-10-2018 20:13, Aravindh Sampathkumar wrote:
> > I built a SLURM cluster and am able to successfully run jobs as root.
> > However, when I try to submit jobs as a regular user, I hit permission 
> > problems.
> > 
> > username at console:[~] > srun -N1 /bin/hostname
> > slurmstepd: error: couldn't chdir to `/usr/home/username': Permission 
> > denied: going to /tmp instead
> > fancy.host.name
> > 
> > 
> > I tried to google around, but could not get a clear view of how user 
> > permissions are passed around with SLURM.
> It would appear that your user accounts and home file system are not set 
> up correctly on all nodes.  Sanity is required in order for Slurm to 
> work ;-)
> First, ignore your Slurm setup and try to log in manually to all compute 
> and login nodes as user "username" and make sure this user (and all 
> other normal users in /etc/passwd) have the correct UID, GID and a 
> shared home directory file system mounted with correct permissions.  I 
> find it a bit unusual if users have a home directory located in 
> `/usr/home/username'.
> /Ole

More information about the slurm-users mailing list