Vitaly Tskhovrebov:
> Excerpt from log:
> Command died with status 2:
>     "/path/to/script 2>>/path/to/log". Command output:
>     sh: 1: cannot create /path/to/log: Permission denied

According to the local(8) manpage:

DELIVERY RIGHTS
       Deliveries to external files and external commands are  made  with  the
       rights  of the receiving user on whose behalf the delivery is made.  In
       the absence of a user context,  the  local(8)  daemon  uses  the  owner
       rights  of  the :include: file or alias database.  When those files are
       owned by the superuser, delivery is made with the rights specified with
       the default_privs configuration parameter.

        Wietse

Reply via email to