[Bug 1024536] Re: sudo piping
Launchpad Bug Tracker
1024536 at bugs.launchpad.net
Sat Jul 14 23:36:45 UTC 2012
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: bash (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1024536
Title:
sudo piping
Status in “bash” package in Ubuntu:
Confirmed
Bug description:
i don't know if it is a bug or the OS should behave like that, but i would prefer it other way.
when i run a command as sudo and pipe it to another command or to a file, the command piped as normal user, when i typed
ohad at comp1:~$ sudo echo 10 > /proc/sys/vm/swappiness
bash: /proc/sys/vm/swappiness: Permission denied
ohad at comp1:~$ sudo echo firefox | apt-get install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
ohad at comp1:~$
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1024536/+subscriptions
More information about the foundations-bugs
mailing list