From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from opera.rednote.net (opera.rednote.net [66.228.34.147]) by speech.braille.uwo.ca (Postfix) with ESMTP id A4652C1A0C8 for ; Mon, 7 Nov 2011 11:40:06 -0500 (EST) Received: from sonata.rednote.net (sonata.rednote.net [IPv6:2001:470:8:4ef:216:d3ff:fecc:ec01]) by opera.rednote.net (8.14.5/8.14.5) with ESMTP id pA7Ge5ue026818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 7 Nov 2011 16:40:06 GMT X-DKIM: Sendmail DKIM Filter v2.8.3 opera.rednote.net pA7Ge5ue026818 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rednote.net; s=default; t=1320684006; bh=M+ykXs9IzvLuTcwyv1O3QnUIldP8xwD0eUaOQIti7qE=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To; b=FsfXqSZgXL2GfOfwv0Wgkn27mCLi/VMA9wSIXAjuGgMPjF8Z+7jLC9hlZ8uRkkBZw lO2MIa0d4XczOBHw9eOgdiGCdJn5ExN90JLK7w4vPDj+Oe7zlIvIitXn5jmnqba1Hy YpF5Fg+cojxcp5fCOzzKUrzMsUfE1f1rmqvb+iJE= Received: from sonata.rednote.net (sonata.rednote.net [127.0.0.1]) by sonata.rednote.net (8.14.5/8.14.5) with ESMTP id pA7EkFPC024147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 7 Nov 2011 09:46:18 -0500 Received: (from janina@localhost) by sonata.rednote.net (8.14.5/8.14.5/Submit) id pA7EkF9o024146 for speakup@braille.uwo.ca; Mon, 7 Nov 2011 09:46:15 -0500 X-Authentication-Warning: sonata.rednote.net: janina set sender to janina@rednote.net using -f Date: Mon, 7 Nov 2011 09:46:15 -0500 From: Janina Sajka To: "Speakup is a screen review system for Linux." Subject: Re: speechd-up debian install question Message-ID: <20111107144615.GA2879@sonata.rednote.net> References: <32433.1318679704@ccs.covici.com> <4EA89E1F.30502@gmail.com> <20111029230027.GA11825@linux1> <20111030131313.GX4154@type.famille.thibault.fr> <20111030145954.GQ4154@type.famille.thibault.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20111030145954.GQ4154@type.famille.thibault.fr> X-Operating-System: Linux sonata.rednote.net 2.6.40.4-5.spk.fc15.x86_64 X-PGP-Key: http://rednote.net/JaninaSajka_gpg_key.html User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.14 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2011 16:40:06 -0000 Samuel Thibault writes: > Bill Cox, le Sun 30 Oct 2011 10:49:30 -0400, a écrit : > > Rob mentioned that it would be better if speechd-up would run as a > > non-privileged user, rather than root. I agree. Is there a simple > > way to get the speakup_soft module to be readable by a non-root user? > > Simply chgrp/chmod /dev/softsynth. It could be useful to add to the > documentation the udev rules to do that automatically. > > > I guess my preference would be readable by all users, but of course > > that let's anyone logged into the machine follow what's going on on > > the console. Ideally only the user logged into the console could > > access /dev/synth. Does anyone know if this is doable? > > Such things are already done for sound & such, so it most probably is, > probably in udev. > I have a very hard time accepting the Linux sound environment as an example of good practice, especially with respect to permissions. For example, pulseaudio preventing root from playing audio is security gone wacko. It's also not a11y friendly, i.e. "give root password for system maintenance." To my mind the proper model is the video display. Audio per;missions should work the same way as video device permissions. On my machines, /dev/vcs* are all chown root and chmod 660. What's wrong with that? And, for the heck of it, why should /dev/ttsynth be more restricted? Janina > Samuel > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup -- Janina Sajka, Phone: +1.443.300.2200 sip:janina@asterisk.rednote.net Chair, Open Accessibility janina@a11y.org Linux Foundation http://a11y.org Chair, Protocols & Formats Web Accessibility Initiative http://www.w3.org/wai/pf World Wide Web Consortium (W3C)