Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2008 11:05:14 GMT
From:      Math <b1ff@fr33.b33r.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/120181: weird tty permissions with rxvt
Message-ID:  <200801311105.m0VB5EoA079345@www.freebsd.org>
Resent-Message-ID: <200801311110.m0VBA1Ad063459@freefall.freebsd.org>

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

>Number:         120181
>Category:       ports
>Synopsis:       weird tty permissions with rxvt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 31 11:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Math
>Release:        6.3-STABLE
>Organization:
>Environment:
>Description:
After starting an rxvt (from ports), ls -l `tty` gives something like:

crw--w--w-  1 myuser   mygroup  0, 150 31 jan 05:57 /dev/ttypa

Which allows any user to print stuff on my terminal.


While logging in from SSH would give something like:

crw--w----  1 myuser   tty      0, 142 31 jan 05:58 /dev/ttyp6

Which seems much better.
>How-To-Repeat:

>Fix:
Building rxvt with --enable-ttygid makes it set permissions and group ownership like SSH does.


>Release-Note:
>Audit-Trail:
>Unformatted:



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