Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
Hi, i have a MacBook Pro of a friend of mine. It's broken so i can't access the folder via OSX. I tried to access them via my Ubuntu doing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    9

    access private folder other users


    Hi,
    i have a MacBook Pro of a friend of mine. It's broken so i can't access the folder via OSX. I tried to access them via my Ubuntu doing "sudo nautilus" and i can browse them all. The point is that i can't copy them, since they are protected by the user password.
    The point is that i do have the password of the OSX account. Is there a way to access the private folder using this password?

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Welcome to LinuxForums!

    I've not messed with OSX files, but if you can access them, you should be able to copy them no matter what.
    If not, try using the chmod command.
    Code:
    man chmod
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,305
    Sorry if this is obvious but Ubuntu is not OSX. Therefore the OSX users password should not be required. As Jayd has said, if you can read them, you should be able to copy them.

    What error are you getting when trying to copy?
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  4. #4
    Just Joined!
    Join Date
    Jul 2010
    Posts
    9
    I did sudo nautilus to get root privilegs. i went to the right path and used "chown -R manuel *" where manuel is my user account. it didn't work, permission denied.
    i tried to do a backup of this folder copying it to another hd, but the system tells me the files are 'read only' and it is not able to copy...

    P.s. Osx is not linux and neither vice versa, but both are based on UNIX

  5. #5
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Forgive me, I'm a little confused.
    Are you trying to copy the files using Nautilus? Or via the terminal?
    Also, are you booting on this machine with a LiveCD of Ubuntu?
    Have you mounted the drive that contains the files that you need?
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  6. #6
    Just Joined!
    Join Date
    Jul 2010
    Posts
    9
    Quote Originally Posted by jayd512 View Post
    Forgive me, I'm a little confused.
    Are you trying to copy the files using Nautilus? Or via the terminal?
    Also, are you booting on this machine with a LiveCD of Ubuntu?
    Have you mounted the drive that contains the files that you need?
    I have Ubuntu 10.04 on My Desktop.
    Yes i'm using nautilus...as i do usually.
    My HD is connected via Sata-USB adapter.

  7. #7
    Just Joined!
    Join Date
    Jul 2010
    Posts
    9
    Hi,
    i still have problems. I copied all the data from the broken OSX HD to my pc. In order to be able to copy the the data i needed to change to root user, otherwise i was not able to copy them.
    Now i have my 27gb of data on the desktop of the 'root' linux user. I'm able to open them and i'm also able to copy them to another path. But if i copy them i 'my' personal folder, i'm not able to open or copy them anymore, the folder picture has now a lock and also a cross.
    I hope it's only a question of granting rights.
    Please need help

    Forthermore:
    If i use the terminal, and i "sudo su" and go to the Desktop of root, there is my data folder, but it is highlighted in green. What does it men?

  8. #8
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,305
    In the directory where the files reside run the following commands to switch ownership to your preferred user and set the access rights to something sensible
    Code:
    sudo chown -R Your_Username_Here: *
    chmod -R 0755 *
    Be careful to do this where the files are as it works on all files in the current directory and any sub-directories. If all the files are in one directory then you won't need the -R in the commands.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  9. #9
    Just Joined!
    Join Date
    Jul 2010
    Posts
    9
    until now i used 'chown -R manuel *'. It should be the same thing, right?

  10. #10
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,305
    The : after the user name also sets the group to be the same as the user name. The chmod then sets some sensible permissions.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •