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

Re: [efax-users] Efax will not following symbolic links for serial device



Thanks for the tip.  I will try when I get home and report back.  It would save me from having to always run efax/ efax-gtk as root.

Kevin Hilton  kev_hilton@xxxxxxxxxxx


> Date: Fri, 4 May 2007 09:37:33 -0700
> From: edc@xxxxxxx
> Subject: Re: [efax-users] Efax will not following symbolic links for serial device
> To: kev_hilton@xxxxxxxxxxx
> CC: efax-users@xxxxxxxxxxxx
>
> Hi,
>
> efax should be able to follow symbolic links.
>
> I think you might need to mount the /dev/pts device with group
> ownership of 'dialout' (after adding yourself to that group) and
> give group r+w permissions.
>
> The last entry in the following Ubuntu forum article:
>
> http://ubuntuforums.org/showthread.php?p=2010189
>
> says you can do this by using the following options to the
> 'martian_modem' command:
>
> martian_modem --daemon --user=root --group=dialout --mode=0660
>
> --
> Ed Casas edc@xxxxxxx http://www.cce.com
>
> > Currently using efax v 0.9a-001114 with efax-gtk 3.0.12.
> >
> > My problem is with setting the serial device.
> >
> > I currently use a winmodem on ubuntu feisty. Im using the martian drives
> > for the winmodem. There are a series of symbolic links which it seems
> > efax cannot traverse. The actual modem is at ttySM0 which is a symbolic
> > link to /dev/pts/3.
> >
> > lrwxrwxrwx 1 root root 11 2007-05-02 20:43 modem -> /dev/ttySM0
> > lrwxrwxrwx 1 root root 10 2007-05-04 03:29 ttySM0 -> /dev/pts/3
> > crw--w---- 1 root tty 136, 3 2007-05-04 03:29 3
> >
> > Problems:
> > 1. efax seems not to be able to traverse the symbolic links.
> > 2. /dev/pts/3 is mounted by mtab -- so it is dynamic. Sometime ttySM0
> > points to /dev/pts/3 and other /dev/pts/4. (Possibly more!)\
> >
> > mtab file snippet: devpts /dev/pts devpts rw,gid=5,mode=620 0 0
> >
> > 3. I can insert pts/3 into the config file, however its use requires admin
> > priveledges so I can really only use program as root user.
> > 4. Although I can use pts/3 as the serial device I am not guaranteed this
> > will exist. As mentioned above, sometimes the fax is mounted as pts/4 or
> > pts/3.
> >
> > Any suggestions on how to correct this problem??
> > Kevin Hilton [1]kev_hilton@xxxxxxxxxxx
> > Kevin Hilton kev_hilton@xxxxxxxxxxx
> >
> >References
> >
> > Visible links
> > 1. mailto:kev_hilton@xxxxxxxxxxx
>
> >_______________________________________________
> >efax-users mailing list
> >efax-users@xxxxxxx
> >http://mail.cce.com/mailman/listinfo/efax-users_cce.com