[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postfix-users
Subject:    [pfx] Re: Dovecot logging to files causes postfix to break
From:       Richard Rosner via Postfix-users <postfix-users () postfix ! org>
Date:       2024-05-19 16:41:40
Message-ID: bb102f16-9989-42f0-907e-20de0493aeeb () rosner-online ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 19.05.24 18:06, Kim Sindalsen via Postfix-users wrote:
> > Can't open log file /var/log/dovecot/error.log: Permission denied )
> > 
> Isn't this a filepermission-issue (ie. does the dovecot-user have permission
> to write to the logfile)?
> 
> What is the permissions and user/group on the logfile - what user tries to
> write to it (dovecot, dovenull or?...)?
As it turned out, everybody was forgetting, that in order for a non-root process to \
access files in a directory, it needs execute permissions on that directory. Those \
weren't granted.


[Attachment #5 (text/html)]

<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <div class="moz-cite-prefix">On 19.05.24 18:06, Kim Sindalsen via
      Postfix-users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:001001daaa06$8177aac0$84670040$@vlh.dk"><span
      style="white-space: pre-wrap">
</span>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Can't open log file \
/var/log/dovecot/error.log: Permission denied )

</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Isn't this a filepermission-issue (ie. does the dovecot-user have permission
to write to the logfile)?

What is the permissions and user/group on the logfile - what user tries to
write to it (dovecot, dovenull or?...)?
</pre>
    </blockquote>
    As it turned out, everybody was forgetting, that in order for a
    non-root process to access files in a directory, it needs execute
    permissions on that directory. Those weren't granted.<br>
  </body>
  <lt-container></lt-container>
</html>



_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-leave@postfix.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic