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
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/
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
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
4 matches
Mail list logo