[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[Linux-India] minicom runs only under root



cd /dev
ln -sf ttyS1 modem
chmod 666 ttyS1

OR

chown uucp.uucp ttyS1
chmod 600 ttyS1
chown uucp.uucp `which minicom`
chmod 4511 `which minicom`

The second way is safer in a multiuser environment, and you'll need to
chown all programs which use ttyS1 to uucp.uucp and chmod 4511 them.

- -- Raju

>>>>> "Rajesh" == RAJESH J ADVANI <rajeshja@xxxxxxxxxxxxxxxxxxx> writes:

    Rajesh> Hi, I have set /dev/modem to point to /dev/cua1 (Modem is
    Rajesh> on COM2)

    Rajesh> minicom runs perfectly when I log in as root, but as any
    Rajesh> other user, when I run minicom, I get the message,

    Rajesh> tty_io.c: process 1301 (minicom) used obsolete /dev/cua1 -
    Rajesh> update software to use /dev/ttyS1 Cannot create
    Rajesh> lockfile. Sorry.

    Rajesh> I set /dev/modem to point to /dev/ttyS1, but that gave me
    Rajesh> the error -

    Rajesh> minicom: cannot open /dev/modem: Permission denied

    Rajesh> /dev/modem is chmod 777

    Rajesh> lrwxrwxrwx 1 root root 10 Aug 12 19:52 /dev/modem ->
    Rajesh> /dev/ttyS1

    Rajesh> Same when I did for /dev/cua1.

    Rajesh> Right now I am logged in as root, and using ttyS1.  Please
    Rajesh> reply soon. I don't like working as root.
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------