Bug 3836 - permissions on /dev/ttyS0
permissions on /dev/ttyS0
Product: Red Hat Linux
Classification: Retired
Component: filesystem (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-06-30 15:25 EDT by tom
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-07-13 12:46:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description tom 1999-06-30 15:25:01 EDT
I upgraded from Redhat 5.2 to Redhat 6.0 amd all went well
except for an nnoying problem with the permissions on
/dev/ttyS0. The scripts for connecting via PPP (ppp-on, etc
as detailed in the PPP-HOWTO) use pppd with setuid root so
that any user may connect. The problem is that each time
pppd is run and connects it sets the permissions on
/dev/ttyS0 to rw-r-r--. No user can subsequently connect. No
matter how many times I reset the permissions, the problem
Comment 1 Michael K. Johnson 1999-07-13 12:46:59 EDT
That's a feature, not a bug.  The comment above the code that does
that says:
"Do the equivalent of `mesg n' to stop broadcast messages."

If you want to change this behaviour, you may be able to put a
chmod command in your ip-up script; otherwise you will have to
recompile pppd.

Alternatively, you can set up pppd the Red Hat way as documented
in our manual, and select the option that lets any user start and
stop that ppp device.

Note You need to log in before you can comment on or make changes to this bug.