| rw-rw-r- 1 buildfarm buildfarm 71 Dec 11 15:33 /tmp/jenkins2989735420931240305.sh rw-rw-r- 1 buildfarm buildfarm 71 Dec 11 15:32 /tmp/jenkins4366322686308396837.sh rw-rw-r- 1 buildfarm buildfarm 563 Dec 11 15:32 /tmp/jenkins6911470318430213229.sh I found the jenkins save the shell script in the /tmp path on ubuntu linux, and the file permission is 644. there are security risks. on the same server other linux account can access these shell script files, maybe he/she will get password from these files (if i save the password into these hell script files). so I suggest that set these scripts file permission to 0600. like ssh-slaves-plugin set the remote working directory permission to 0700. |