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

Re: cannot open /dev/modem: permission denied



Skippi wrote:

Ok, when I tried connecting with WVDial today as user I got the message:

cannot open /dev/modem: Permission denied
cannot open /dev/modem: Permission denied
cannot open /dev/modem: Permission denied

The modem works fine and I can connect as root, but not as the user.
This has worked fine in the past, why it changed suddenly I don't know.

I thought about file permissions first off, so I did some checking on the obviously relevant files.

/dev/modem lrwxrwxrwx 1 root root modem->/dev/ttyS2
/dev/ttyS2 crw-r----- 1 root dialout

I am a member of the dialout group.
As I said, the hardware if fine. I'm using it now. Suggestions please?

Since you'll be sending commands to the modem, you'll need write access to the modem device.

enjae[westk]:/home/westk> ls -l /dev/ttyS2
crw-rw----    1 root     dialout    4,  66 May 12  2001 /dev/ttyS2


--
Kent West (westk@acu.edu)





Reply to: