Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19391 - [xterm] permissions in /dev/pts permit everyone to write in xterm

Attached to Project: Arch Linux
Opened by Benoit Izac (benizac) - Saturday, 08 May 2010, 13:34 GMT
Last edited by Jan de Groot (JGC) - Saturday, 08 May 2010, 15:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When I open xterm, associated permissions in /dev/pts/ are 0622 which permits everyone to write in.

It should be 0620 user:tty.

Example with 6 xterm opened:
% ls -l /dev/pts
total 0
crw--w--w- 1 benoit benoit 136, 0 May 8 15:25 0
crw--w--w- 1 benoit benoit 136, 1 May 8 15:27 1
crw--w--w- 1 benoit benoit 136, 2 May 8 15:30 2
crw--w--w- 1 benoit benoit 136, 3 May 8 15:30 3
crw--w--w- 1 benoit benoit 136, 4 May 8 15:25 4
crw--w--w- 1 benoit benoit 136, 5 May 8 15:25 5
c--------- 1 root root 5, 2 May 8 2010 ptmx

On a multiusers system it's easy to do ``cat /dev/urandom > /dev/pts/N''...
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 08 May 2010, 15:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 258.

Loading...