You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The swarm-client-3.13.jar is owned by root with mode of 0640 (my system's umask is weird, regardless...).
What behaviour did you expect instead
The swarm client jar file should be owned by the slave_user specified in the resource definition. With this configuration the service cannot start because the file is not owned by the user who needs to execute it.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered:
bstopp
changed the title
Warm Client Jar has incorrect owner/group
Swarm Client Jar has incorrect owner/group
Aug 15, 2018
I think its debatable if its a good idea for a jenkins agent to have permission to delete it's own jar files. This could also be resolved by setting the mode and/or the group on the jar.
It really isn't any different than the jenkins user's permissions on the master; and of all the files the swarm client is the only one on the agent that isn't owned by the jenkins-slave user.
🤷♂️
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
The
swarm-client-3.13.jar
is owned by root with mode of0640
(my system's umask is weird, regardless...).What behaviour did you expect instead
The swarm client jar file should be owned by the slave_user specified in the resource definition. With this configuration the service cannot start because the file is not owned by the user who needs to execute it.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: