PDA

View Full Version : [ubuntu] take ownership problems



bobie
July 20th, 2008, 09:32 PM
I installed Ubuntu on my desktop and I want to copy my files from my user folder in XP from a seperate HD.

I tried the code sudo chown barry /media/sambo/documents and settings/barry
(barry is my ubuntu user. sambo is the hard drive. barry is the user folder)

I enter my sudo password and get "cannot access '/media/sambo/documents': No such file or directory"
"cannot access 'and': No such file or directory"
"cannot access 'settings/barry': No such file or directory"

I tried renaming the documents and settings folder without the spaces and I tried a variation of CAPS and non caps.

oldschoolrockstar
July 20th, 2008, 09:36 PM
Did you get your window's partition to be recognized by Ununtu?

bobie
July 20th, 2008, 09:41 PM
Yes. I can physically see my windows hard drive and file system. And I can open and view files from it.

bobie
July 20th, 2008, 11:03 PM
I'm new to Ubuntu and I'm trying to figure this out, but I have thus far been unsuccessful. I'm also unable to log in to the root user account. Please any suggestions.

Tim Sharitt
July 21st, 2008, 12:11 AM
When entering a filename in the terminal, the spaces must be escaped with "\". So you in you case you need to enter

sudo chown barry /media/sambo/documents\ and\ settings/barry