Comment 46 for bug 292791

Revision history for this message
Walter Bamberger (wallinnb) wrote :

Hi Steve,

Note that there is an icon on my desktop for "9.6 GB Media". It also shows under Places>Computer.
It is my /media/disk folder.

I opened terminal and got this:

web@2kbox:~$ sudo chroot /media/disk su web
[sudo] password for web:
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
===== this line repeated about 100 times =====
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
web@2kbox:/$

I did not try to run sudo -s.

I rebooted my system and tried again.
This time I got:

web@2kbox:~$ sudo chroot /media/disk su web
[sudo] password for web:
chroot: cannot change root directory to /media/disk: No such file or directory
web@2kbox:~$

The 9.6 GB Media icon was gone from my desktop. I assume this was because that drive did not mount with the reboot. I accessed it via Places>Computer which caused the icon to reappear. I then ran

web@2kbox:~$ sudo chroot /media/disk su web
[sudo] password for web:

and once again got:
bash: /dev/null: Permission denied
web@2kbox:/$

This time I ran and got:
web@2kbox:/$ sudo -s
sudo: must be setuid root
web@2kbox:/$