Bug 120181 - weird tty permissions with x11/rxvt
Summary: weird tty permissions with x11/rxvt
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-31 11:10 UTC by Math
Modified: 2008-06-19 08:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Math 2008-01-31 11:10:00 UTC
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.

Fix: 

Building rxvt with --enable-ttygid makes it set permissions and group ownership like SSH does.
Comment 1 dfilter service freebsd_committer freebsd_triage 2008-06-19 07:59:50 UTC
lippe       2008-06-19 06:59:44 UTC

  FreeBSD ports repository

  Modified files:
    x11/rxvt             Makefile 
  Log:
  - Fix ownership on all installed files.
  - Bump PORTREVISION.
  
  PR:             ports/120181
  Submitted by:   Math <b1ff@fr33.b33r.net>
  Approved by:    gabor (mentor, implicit)
  
  Revision  Changes    Path
  1.67      +2 -2      ports/x11/rxvt/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2008-06-19 08:07:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!