Originally Posted by Vibin Lakshman
Did you try to move this stuff to a FAT32 or NTFS drive? It's acting like all the permissions are wrong. You didn't explain clearly what you were trying to do, nor what you did do...
Boot from a LiveCD in "Try it" mode.
Open a terminal window.
Type in: One of the listed partions will be "ext3". Make note of the device. We'll assume that was "/dev/sda2", but use the correct one...
*should* look like:
sudo mount /dev/sda2 /mnt -text3
ls -l /mnt/usr/bin/sudo
If the mode and ownership don't match that, you need to backup your data and reinstall Ubuntu.
-rwsr-xr-x 2 root root 143656 2009-06-22 12:15 /usr/bin/sudo
Do you have a Windows partition? The fdisk command above will have displayed which device that is. Let's assume it was /dev/sda1 and that it's really big.
That'll take awhile, but you'll have a backup.
sudo mkdir /mnt2
sudo mount /dev/sda1 /mnt2 -tntfs
tar cjf /mnt2/emerg-backup.tar.bz2 home
Now, reinstall Ubuntu.
Then open a terminal window and mount that Windows partition with the backup on it, and restore the backup:
That will put you close to where you were...
sudo mount /dev/sda1 /mnt -tntfs
sudo tar xjf /mnt/emerg-backup.tar.bz2
sudo chown -R $LOGNAME:$LOGNAME $HOME