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

Bug 59127

Summary: typo, should be "usermod" not "chmod"
Product: [OLD] Docs-user Reporter: groepaz
Component: Gentoo Linux PPC FAQAssignee: Camille Huot (RETIRED) <cam>
Status: RESOLVED FIXED    
Severity: trivial CC: docs-team
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
URL: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Whiteboard:
Package list:
Runtime testing required: ---

Description groepaz 2004-08-02 02:33:09 UTC
under "How do I get sound output working?" in the following sentence: "Second, users who should have access to the audio devices need to be added to the appropriate group with the command chmod -g audio [username]." it should be "usermod" instead of "chmod".

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Camille Huot (RETIRED) gentoo-dev 2004-08-02 03:43:13 UTC
You're right, but '-g' sets the initial group name. Here we just want to add a supplementary group.

If I had no better answer in a few hours, I'll replace that chmod by 

"usermod -G `groups [username] | sed 's/ /,/g'`,audio [username]"
Comment 2 Camille Huot (RETIRED) gentoo-dev 2004-08-02 07:01:58 UTC
Fixed + removed bad link to http://lppcfom.sourceforge.net/, thank you.