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

permission problems on /dev/ttyS1



Something, it seems that efax is the culprit, keeps changing the
permissions on /dev/ttyS1.  The following illustrates the problem (alias
l="ls -la --color=tty"):
-----------------------------------------
$groups
jhspies adm mail news dialout fax floppy audio dip cdskrywers
jhspies-22:45:24-~$l /dev/ttyS1
crw-rw-rw-   1 root     dialout    4,  65 Jan  6 22:44 /dev/ttyS1
jhspies-22:45:34-~$fax
efax: Thu Jan  6 22:45:43 2000 efax v 0.9 Copyright 1999 Ed Casas
efax: 45:43 Warning: local ID (0331-461310) has non-standard characters
efax: 45:43 removed stale lock /var/lock/LCK..ttyS1 from pid 448
efax: 45:43 Error: can't open serial port /dev/ttyS1: Permission denied
efax: 45:43 done, returning 2 (unrecoverable error)
There were errors (see 0106224543.log).
jhspies-22:45:43-~$l /dev/ttyS1
crw-r--r--   1 root     dialout    4,  65 Jan  6 22:44 /dev/ttyS1
-------------------------------------------------------

How can I correct that? I do not want to use chmod every day on the same
device.

I would appreciate some help please.

Johann
-- 
Johann Spies,Windsorlaan 19, Pietermaritzburg, 3201, South Africa        
Tel/Faks 033-346-1310 Sel/Cell 082-255-2388
     "Thou shalt not avenge, nor bear any grudge against the
      children of thy people, but thou shalt love thy  
      neighbor as thyself. I am the LORD."             
                                 Leviticus 19:18 


Reply to: