Problem with Log-File

Yassine Chaouche a.chaouche at algerian-radio.dz
Mon May 3 13:40:48 EEST 2021


Le 5/3/21 à 4:19 AM, Volf, Ronald (IRV) a écrit :
> Our Dir-Structure is: (for testing, we changed all to mod 777)
>     2021-05-03 04:29:32 IRV-20210501-V02-rvh:~ # dir -d /var/  
> /var/log/ /var/log/IRV_MdM/ /var/log/IRV_MdM/Dovecot_main.log
>     drwxrwxrwx 11 root    root     4096 2021-04-30 20:36:51 /var/
>     drwxrwxrwx 21 root    root     4096 2021-05-03 02:53:34 /var/log/
>     drwxrwxrwx  4 IRV_MdM IRV_MdMG 4096 2021-05-03 04:28:09 
> /var/log/IRV_MdM/
>     -rwxrwxrwx  1 IRV_MdM IRV_MdMG   14 2021-05-03 01:36:18 
> /var/log/IRV_MdM/Dovecot_main.log
>     2021-05-03 04:29:48 IRV-20210501-V02-rvh:~ #
Hello,

You can replace that with namei. For example :

ychaouche#ychaouche-PC 11:39:17 ~ $ namei -l /var/log/dmesg
f: /var/log/dmesg
drwxr-xr-x root root   /
drwxr-xr-x root root   var
drwxrwxr-x root syslog log
-rw-r----- root adm    dmesg
ychaouche#ychaouche-PC 11:39:30 ~ $

-- Yassine.


More information about the dovecot mailing list