ports/120181: weird tty permissions with rxvt

Math b1ff at fr33.b33r.net
Thu Jan 31 11:10:02 UTC 2008


>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:



More information about the freebsd-ports-bugs mailing list