Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 146972

Summary: sys-power/nut doesn't upgrade nut user to tty group (from nut 1.0.4 to 2.0.4)
Product: Gentoo Linux Reporter: Jani Averbach <jaa>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jani Averbach 2006-09-09 10:11:35 UTC
Hi,

When I upgraded my old sys-power/nut-1.0.4 to 2.0.4-r1, the new ebuild did not
add my nut-user to tty group.

# id nut
uid=84(nut) gid=84(nut) groups=84(nut)

And for this reason the nutdrv failed to start. 
Unable to open /dev/ttyS1: Permission denied

  Current user id: nut (84)
Serial port owner: root (0)
Serial port group: tty (5)
     Mode of port: 0660

# cat /etc/gentoo-release 
Gentoo Base System version 1.12.4
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-09-14 23:57:19 UTC
fixed in cvs.