Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


trying to access files

Posted on 2014-01-29
Medium Priority
Last Modified: 2014-02-05
I'm trying to get access to some files on a mac drive.
I cant mount the drive in a mac.
However it mounts in Ubuntu.

When I get to the folders I need access, I receive the following message

"The folder contents could not be displayed
You do not have the permissions necessary to view the contents of "Documents"."

Any help to access the files/folders would be appreciated.
Question by:citrine
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 3

Expert Comment

by:Aditya Arora
ID: 39820007

Mac uses a file system hfs+ or hfsplus

It doesn`t support linux file permissions. It will always mount read only, meaning you cannot copy stuff to it or from it unless you use some hacks. Try to connect mac.

LVL 18

Expert Comment

ID: 39820029
Have you used a terminal and the command 'sudo'?

Open up a terminal (CTRL+ALT+t).
Type 'sudo ls /media/YOURMACHDNAME'

(Replace YOURMACHDNAME with your media name).
LVL 18

Accepted Solution

TobiasHolm earned 2000 total points
ID: 39820080
"First, make sure that you have hfsprogs installed. Example installation command:

sudo apt-get install hfsprogs
Next, mount or remount the HFS+ drive; commands need to be as follows:

sudo mount -t hfsplus -o force,rw /dev/sdx# /media/mntpoint

sudo mount -t hfsplus -o remount,force,rw /mount/point
Finally, if the drive was improperly unmounted or has otherwise become partially corrupted run fsck.hfsplus (provided here by Jayson) as such:

sudo fsck.hfsplus /dev/sdx#
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 39820373

I tried:  sudo mount -t hfsplus -o force,rw /dev/sdx# /media/mntpoint

and got the following.

mount: mount point /media/mntpoint does not exist

sudo mount -t hfsplus -o remount,force,rw /mount/point

gives me:

Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
LVL 18

Expert Comment

ID: 39820523
>I tried:  sudo mount -t hfsplus -o force,rw /dev/sdx# /media/mntpoint

You must replace sdx# with a valid device (type ls /dev to list your devices). And you must replace /media/mntpoint with a valid mountpoint. First create the mountpoint by typing:

ls /media
sudo mkdir /media/mymountpoint
ls /media

Author Comment

ID: 39827273

Trying to fumble my way through.
After I plug in the USB HDD and type ls /dev  "sbd", "sdb1" and "sbd2" appears
So do I put in all three (one at a time)?

Also, after I create the mountpoint, I get:
floppy  floppy0  markabc mymountpoint

 which part do I replace  "/media/mntpoint" with?
LVL 18

Expert Comment

ID: 39828202
ok. Try this (This will list your hard drives):
sudo fdisk -l

Open in new window

Try to locate your Mac disk, see if you can find a disk that uses hfs. In the example below I've assumed you found your disk on /dev/sdb
sudo mount -t hfsplus -o force,rw /dev/sdb /media/mymountpoint

Open in new window


Author Comment

ID: 39834805

I plugged the drive back into the Mac and Abracadabra it works!
Unsure if what you said helped, but happy to give you the points.
LVL 18

Expert Comment

ID: 39835670
ok, that's great! Thanks!

Expert Comment

by:Aditya Arora
ID: 39837908
Finally what i said works. :)

Author Comment

ID: 39837959

I had tried what you suggested dozens of times before posting the question.
It wasn't till after I attempted the advice of TobiasHolm that plugging the drive back into a mac worked. So I gave the points to TobiasHolm, I hope you understand.

Expert Comment

by:Aditya Arora
ID: 39837969
Citrine, Points is no issue i am happy that you get your data back and what i advise is correct. i already tried to access mac drive in Linux system but not able to do that.

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We look at whether swapping a controller board on a failed hard drive is likely to solve the problem.
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question