[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permissions problems efax / dev/ttyS0



On Sun, Aug 04, 2002 at 02:49:26PM -0400, Tomasz Kosinski wrote:
> I recently installed and set up efax. I have added myself to the "fax"
> group, yet I am still unable to send/receive faxes as a normal user. As
> root, everything works as expected. Sorry for this simple problem, but
> don't know how to adjust permissions properly.
[...]
> tk>: fax send 555-1212 ~/c-design/testfax.ps
> /home/tk/c-design/testfax.ps.nnn is up-to-date
> efax: Sun Aug  4 14:39:29 2002 efax v 0.9a-001114 Copyright 1999 Ed Casas
> efax: 39:29 Error: can't open serial port /dev/ttyS0: Permission denied
> efax: 39:29 failed -> /home/tk/c-design/testfax.ps.001
> efax: 39:29 done, returning 2 (unrecoverable error)
> There were errors (see T555-1212.log).

What does "ls -l /dev/ttyS0" say? If it is like my system, it probably
says (date is unimportant):

crw-------     1 root       root      4,  64 Jul 15 14:46 /dev/ttyS0

And you want:

crw-rw----     1 root       fax       4,  64 Jul 15 14:46 /dev/ttyS0

You'll probably need to (read the manpages and):
# chgrp fax /dev/ttyS0
# chmod g+rw /dev/ttyS0

-- 
Seneca
seneca-cunningham@rogers.com

Attachment: pgpeMIM7vTy6Z.pgp
Description: PGP signature


Reply to: