LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2010, 03:46 PM   #1
primussucks
LQ Newbie
 
Registered: Jan 2006
Location: Pingree Grove, IL
Distribution: Mint
Posts: 21

Rep: Reputation: 0
Access secure OSX directory


Not sure where to post this, but Im a newbie to things like this so I figured this will do.

Im running Ubuntu 10. something Ill look in a min and update this thread when I get to work later today.
EDIT: its version 10.04

My better half spilled some coffee on her 8month old macbook and it decided not to work anymore. Apple says it will cost around $800 or more to fix, we wont be paying that, Ill be finding a logic board or service somewhere online now that our warranty is shot and going that route.

But before I send the macbook off anywhere I need to pull some data off the HDD. I was able to plug the HDD into my Linux box(internally, I dont have an external enclosure). I was able to mount the drive and copy the directories I wanted to the HDD on my linuxbox.

But Im unable to to access the directory from the terminal or from the file browser, I get an access denied message. Because I know the username and password for the macbook is there a way I can use that to gain access to the directories?

Google got me this far, but when I googled "access locked directory ubuntu" or any variation of that with the terms linux and osx thrown in there for good measure, I cant seem to get anything good.

Thanks for any help you can provide.
Ryan

Last edited by primussucks; 12-20-2010 at 03:52 PM. Reason: added version
 
Old 12-20-2010, 04:26 PM   #2
soppy
Member
 
Registered: Mar 2008
Location: In your head!
Distribution: Arch Linux
Posts: 165
Blog Entries: 1

Rep: Reputation: 28
It sounds like a quick fix. Load up the terminal and type:

Code:
sudo chown -R $yourusername /path/to/mounted/driveorfolder
Replace $yourusername with your user name (ex. soppy). Enter your admin-user password for your Ubuntu box and voila!

This will change the ownership of the files/folders where you specified so that your regular user can modify them and view them. Hope I helped!
 
Old 12-20-2010, 04:40 PM   #3
primussucks
LQ Newbie
 
Registered: Jan 2006
Location: Pingree Grove, IL
Distribution: Mint
Posts: 21

Original Poster
Rep: Reputation: 0
Awesome.
That worked like magic.

thanks a ton.
 
Old 12-20-2010, 09:40 PM   #4
soppy
Member
 
Registered: Mar 2008
Location: In your head!
Distribution: Arch Linux
Posts: 165
Blog Entries: 1

Rep: Reputation: 28
No problem!! Please mark thread as solved though. So others who have this question will see that the answer has been provided. Happy Linuxing!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
secure directory in apache packets Linux - Server 3 09-24-2010 03:07 AM
How secure is vsftpd? What alternative is there for more secure access? Gum Linux - Security 5 03-24-2009 05:00 PM
Super User / Root access on DebianKDE3 in VirtualBox on OSX Zexston Linux - Newbie 5 03-17-2009 03:24 PM
Can only access SOME folders on OSX partition from Ubuntu 8.04, macbook santa rosa jedrake2 Linux - Newbie 3 01-07-2009 04:45 AM
Disabling journaling on HFS+ formatted drive w/o access to OSX? j4mes Linux - Hardware 0 04-05-2007 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration