Re: Permission denied when tweaking various /proc knobs (Lenny)

2009-12-08 Thread Brian Ryans
Thanks, I wasn't paying attention to the 'bash' part, only to the 'permission denied' part. :> PEBKAC on my part. -- _ ASCII Ribbon Campaign Against ( ) Brian Ryans HTML E-mail and V-cards Xbrianlry...@gmail.com www.asciiribbon.org

Re: Permission denied when tweaking various /proc knobs (Lenny)

2009-12-08 Thread Sven Joachim
On 2009-12-06 06:22 +0100, Brian Ryans wrote: > I am attempting to adjust brightness via '/proc/acpi/ibm/brightness', > but I get permission denied if I do it via sudo -- I have to su to root > in order to do the adjustments. Log at [1]. > > [1] > bry...@esterhazy:~$ sudo echo up > /proc/acpi/ibm/

Re: Permission denied when tweaking various /proc knobs (Lenny)

2009-12-08 Thread Sascha Silbe
On Sat, Dec 05, 2009 at 11:22:37PM -0600, Brian Ryans wrote: bry...@esterhazy:~$ sudo echo up > /proc/acpi/ibm/brightness bash: /proc/acpi/ibm/brightness: Permission denied The redirection is set up by the current shell, i.e. with non-elevated privileges. Try this instead: sudo sh -c 'echo up

Permission denied when tweaking various /proc knobs (Lenny)

2009-12-08 Thread Brian Ryans
I am attempting to adjust brightness via '/proc/acpi/ibm/brightness', but I get permission denied if I do it via sudo -- I have to su to root in order to do the adjustments. Log at [1]. [1] bry...@esterhazy:~$ sudo echo up > /proc/acpi/ibm/brightness bash: /proc/acpi/ibm/brightness: Permission den