Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 14:14:56 +0200 (CEST)
From:      Micke Josefsson <mj@isy.liu.se>
To:        freebsd-questions@freebsd.org
Subject:   stty behaviour odd?
Message-ID:  <XFMail.001016141456.mj@isy.liu.se>

next in thread | raw e-mail | index | archive | help

How is it that I (uid=1001(mj) gid=1001(mj) groups=1001(mj), 0(wheel),
68(dialer)) can 

stty -f /dev/cuaa1 57600

but not 

stty -f /dev/cuaia1 57600

or 

stty -f /dev/cuala1 57600


even though:

crw-rw----  1 uucp  dialer   28, 129 13 Okt 11:14 /dev/cuaa1
crw-rw----  1 uucp  dialer   28, 161  6 Jun 17:16 /dev/cuaia1
crw-rw----  1 uucp  dialer   28, 193  6 Jun 17:16 /dev/cuala1

If the permissions are the same, I should be able to fiddle with all the cua:s?

How do I circumvent this? Set-uid-root on stty does it, but that feels like a
H-bomb-to-kill-a-fly approach.

/Micke

----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 3.5-STABLE
----------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001016141456.mj>