cannot open logfile /var/log/mgetty/sendfax.log: Permission denied

Gert Doering (gert@greenie.muc.de)
Mon, 12 Oct 1998 08:40:17 +0200


Hi,

On Mon, Oct 12, 1998 at 03:28:54AM +0200, shaul wrote:
> [21:45:26 shaul]$ ls -l /usr/sbin/sendfax 
> -rwxr-xr-x   1 root     root        47020 May 23 16:20 /usr/sbin/sendfax
> [21:45:35 shaul]$ ls -l /var/log/mgetty/sendfax.log
> -rw-r--r--   1 root     adm             0 Oct 11 06:43 
> /var/log/mgetty/sendfax.log
> 
> Is it the expected behavior ? Should /usr/sbin/sendfax be installed suid ? 

Sendfax is usually not run from a normal user account, but by means of
"faxrunq(d)" from root or root's crontab.

If you want to run it as normal user, make the log file world-writable.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de