department-of-veterans-affairs/vtk

[linux] The `va_gov_socks.service` unit file is owned by my user instead of root

Opened this issue · 0 comments

Repro steps

  • vtk socks setup, complete this workflow
  • open a terminal and:
cd /etc/systemd/system
ls -hal va_gov_socks.service
$ ls -hal va_gov_socks.service # replaced my username with '$MYSELF'
.rw-rw-r--   259 $MYSELF $MYSELF YYYY-mm-DD HH:MM va_gov_socks.service

Observe how the file is owned by me and not by root
The file should be:
chmod root:root with chmod 644 at most