centos – rsyslogd: omfile: creating parent directories for file ‘Permission denied’ failed: /home//logs/docker/log
I’m getting the following error (note that rsyslogd is run as root)
rsyslogd: omfile: creating parent directories for file 'Permission denied' failed: /home//logs/docker/log
This directory has permissions:
drwxr-xr-x. 2 6 Sep 23 12:20 docker
Regardless of permissions, because rsyslogd is run as root, I think there should be no problem with this?
ps -eo user,group,pid,comm | grep rsyslogd
root root 14910 rsyslogd
I don’t have root access, but just had the person with root access check and they can write to /home/ via vim, so this suggests it’s rsyslogd related.
rsyslogd 8.24.0-57.el7_9.3, compiled with:
PLATFORM: x86_64-redhat-linux-gnu
PLATFORM (lsb_release -d):
FEATURE_REGEXP: Yes
GSSAPI Kerberos 5 support: Yes
FEATURE_DEBUG (debug build, slow code): No
32bit Atomic operations supported: Yes
64bit Atomic operations supported: Yes
memory allocator: system default
Runtime Instrumentation (slow code): No
uuid support: Yes
Number of Bits in RainerScript integers: 64
See http://www.rsyslog.com for more information.
Read more here: Source link
