LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-06-2009, 04:35 PM   #1
jedrake2
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Can only access SOME folders on OSX partition from Ubuntu 8.04, macbook santa rosa


Hello all,

I recently installed Ubuntu 8.04 on a macbook santa rosa and was pleasantly surprised to find that my hfs+ partition mounted automatically. I was prompted to enter a username and password to access the partition in the file browser- the username and password I normally enter to log-on to OSX worked just fine.

Now I can read many files on the partition, but there are some locked folders. These include the standard user folders created by OSX (Documents, Pictures, Music, Desktop etc.). When I try to access them I get "The folder contents could not be displayed- you do not have permissions necessary to view the contents of 'Documents'". Here what the permissions look like of a folder I can't access.

drwx---r-x 1 501 dialout 13 2009-01-06 13:36 Desktop

How do I edit the permissions of these folders so that I can read them from Ubuntu? I'm not 501, so as far as I know I can't use chmod. My understanding is that I won't be able to WRITE to the OSX partition unless I turn off journaling on that partition, which I don't really want to do. I already tried logging into OSX and changing the permissions of these folders so that everyone can read, but that didn't work.

Any suggestions would be appreciated.
 
Old 01-06-2009, 04:51 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
in a terminal type sudo nautilus then enter then password and now you can see them but you can also hurt things be careful. When your running your file manager as root and root can delete anything. while your root you can change what ever you want. right click then properties and set it up for what ever you for access. in every linux OS there are help files and man files please read

Last edited by Drakeo; 01-06-2009 at 04:55 PM.
 
Old 01-06-2009, 05:43 PM   #3
jedrake2
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
I read. First I used " sudo chmod u+rw -R Documents " to add read and write permissions recursively through the Documents tree. chmod tried, but all files gave this error:

chmod: changing permissions of `Documents/Windows Applications/Trans2100.exe.app/Contents': Read-only file system

So chmod was able to see the files long enough to try to change their permissions, but the permissions didn't actually change. The permissions still are:
drwx---r-x 1 501 dialout 13 2009-01-06 13:36 Desktop

So users should be able to read... but I can't.


Then I tried to edit the permissions of the folder using the gui (gksudo nautilus, then navigated to the folder, right click to preferences to edit permissions). I was unable to change the owner or group (would get error of "Sorry, couldn't change the permissions of "Documents": Error setting permissions: Read-only file system". I could change the file-access, but the changes wouldn't stick.

So, while I can access the embedded files will running nautalus as root (a risky behavior I want to avoid doing regularly) I can't change the permissions so that I will be able to read while not running as root.

Are there other options for me? I would like to access this drive regularly without the root trick.
 
Old 01-07-2009, 05:45 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
as root in properties set it up so only things can be seen and not deleted. and who can see it etc etc etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unable to share folders with Mac mini and Macbook on a home network with ubuntu 8.04 smcaro Linux - Newbie 4 11-24-2008 10:34 PM
How do I access my windows shared folders from Ubuntu 8.04? ithinkthereforeiam Linux - Newbie 2 05-08-2008 06:14 AM
Macbook (Remove OSX - Install Ubuntu) jrodia Linux - Laptop and Netbook 5 05-05-2007 06:06 PM
Triboot ubuntu, windows, osX on Macbook pro _mercury Linux - Software 6 06-26-2006 08:31 AM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 07:14 AM

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

All times are GMT -5. The time now is 06:20 AM.

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