su doesn't have permission to view drive contents

Asked by CraigMcW

All,

Running 10.10, I suffered a drive crash, apparently in my boot sector. I was able to boot from CD and mount another internal hd and copy my files to it. I performed an install of 11.04 and tried to mount that drive (sudo mount /dev/sdb3 /stor) which executed without error. However, when I try to view the contents, the system tells me I don't have permissions. What may I do please?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Ian Ace (iaculallad) said :
#1

If you know the mount point for your /dev/sdb3/stor, then you can do the following command from the Terminal to 'own' it:

sudo chown -R your_username:your_username /mount_point/location
sudo chmod -R 755 /mount_point/location

HTH.

Revision history for this message
CraigMcW (craig-r-mcwilliams) said :
#2

Thank you Ian. I forgot the -R ! Yikes. My synaptic clefts must be
expanding. :)

On Mon, Jun 6, 2011 at 7:16 AM, Ian Ace <
<email address hidden>> wrote:

> Your question #160437 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/160437
>
> Status: Open => Answered
>
> Ian Ace proposed the following answer:
> If you know the mount point for your /dev/sdb3/stor, then you can do the
> following command from the Terminal to 'own' it:
>
> sudo chown -R your_username:your_username /mount_point/location
> sudo chmod -R 755 /mount_point/location
>
> HTH.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/160437/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/160437
>
> You received this question notification because you asked the question.
>

--
Craig R. McWilliams
(312) 505-8575

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

You can boot to liveCD and reinstate the bootloader

Revision history for this message
CraigMcW (craig-r-mcwilliams) said :
#4

Thanks actionparsnip, that solved my question.