Closed evgeni closed 1 year ago
FileNotFoundError: [Errno 2] No such file or directory: '/var/cache/dnf/download_lock.pid'
what fresh hell is this now?!
huh, why does systemd care my drop-in file permissions? What if I need to put information in that file that I don't want everyone on the system to be able to read?
That's exactly the point. Everyone can read it, regardless of permissions, by using systemctl cat rhcd.service
. So there is no protection whatsoever by the file permissions and thus one should not use any that make people think non root can't read it.
That's exactly the point. Everyone can read it, regardless of permissions, by using
systemctl cat rhcd.service
. So there is no protection whatsoever by the file permissions and thus one should not use any that make people think non root can't read it.
:facepalm:
there is no benefit and systemd warns about this: