Results 1 to 3 of 3

Thread: HFS+ access: Permission Denied for user's folders

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Location
    Wisconsin
    Posts
    2

    HFS+ access: Permission Denied for user's folders

    Hi all,

    My girlfriend's Mac's hard drive recently died, and I'm trying to do a recovery with knoppix. I put the bad hard drive in a USB enclosure, but it caused things to choke up a little when I tried to read it under OS X. Instead, I tried it under knoppix. I was able to get the drive mounted relatively easily, though I had to run a few extra steps because it's an hfs+ drive. Now, I can navigate through most of the drive with no problem at all, as if it were a new drive (no choking anywhere like under OS X).

    The one exception is, unfortunately, the most crucial area: the home directory (or rather, OS X's equivalent of that). This OS keeps it in the /Users/username directory, with the Documents, Music, Pictures, and what have you. The problem with that is, all of those folders are locked down, presumably because the user and password information are needed for those folders. Trying to cd into one of those directories gets me a "Permission Denied" error. Right now, the permissions are set to rwx------, and a sudo chmod 777 foldername just says "Read-only file system" and that doesn't work. I've googled for an hour, and just can't find anything that's helping me out. Does anyone know how to conquer this? There is no password to the account (yeah yeah, I know...) but I don't know how to unlock those folders with that blank password..

    Any help is greatly appreciated, of course. If you have any questions, I'm putting a reply notification on this thread and will probably get back to you pretty quickly.

    Thanks!
    -Brian

  2. #2
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282

    Re: HFS+ access: Permission Denied for user's folders

    Quote Originally Posted by spongebue
    Hi all,

    My girlfriend's Mac's hard drive recently died, and I'm trying to do a recovery with knoppix. I put the bad hard drive in a USB enclosure, but it caused things to choke up a little when I tried to read it under OS X. Instead, I tried it under knoppix. I was able to get the drive mounted relatively easily, though I had to run a few extra steps because it's an hfs+ drive. Now, I can navigate through most of the drive with no problem at all, as if it were a new drive (no choking anywhere like under OS X).

    The one exception is, unfortunately, the most crucial area: the home directory (or rather, OS X's equivalent of that). This OS keeps it in the /Users/username directory, with the Documents, Music, Pictures, and what have you. The problem with that is, all of those folders are locked down, presumably because the user and password information are needed for those folders. Trying to cd into one of those directories gets me a "Permission Denied" error. Right now, the permissions are set to rwx------, and a sudo chmod 777 foldername just says "Read-only file system" and that doesn't work. I've googled for an hour, and just can't find anything that's helping me out. Does anyone know how to conquer this? There is no password to the account (yeah yeah, I know...) but I don't know how to unlock those folders with that blank password..

    Any help is greatly appreciated, of course. If you have any questions, I'm putting a reply notification on this thread and will probably get back to you pretty quickly.

    Thanks!
    -Brian
    At the moment write support for hfs+ is experimental under linux, similar to when NTFS was realeased for windows.
    I would first check that the hfsplus module has been loaded

    sudo modprobe hfsplus

    Then you need to know where your MAC volume is, again as su or sudo

    fdisk -l

    (thats "l" as in "list" will list all partitions.

    You can try and manually mount the mac partition with

    mount -t hfsplus /dev/sdax /home/knoppix/mac

    you need to replace sdax with the mac partition from fdisk -l and also create the mountpoint (mkdir /home/knoppix/mac)

    Some older macs use hfs filesystem not hfs+ so this command may work

    mount -t ufs -o ufstype=44bsd,ro /dev/sdax /home/knoppix/mac

    as before use the correct partition for sdax and create the mountpoint.

    Not had a lot of experience with Macs, but they are based on FreeBSD so some linux commands are familiar once you get to the terminal.

  3. #3
    Junior Member
    Join Date
    Dec 2009
    Location
    Wisconsin
    Posts
    2
    Thanks for the response. I actually have it mounted just fine. I can navigate through the system folders just fine, and can see what's in the user's folder, but cannot go into most subfolders (Documents, Music, etc). Just "Public" and "Sites." I can't remember exactly which commands I used to mount (just copied what I saw on another website) but maybe that method would do it.

Similar Threads

  1. Crontab permission denied
    By jogeedaklown in forum General Support
    Replies: 2
    Last Post: 09-17-2008, 11:05 PM
  2. permission denied when trying to access vfat partition
    By db109 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-13-2005, 09:57 AM
  3. /etc/fstab permission denied
    By Valhalla in forum General Support
    Replies: 1
    Last Post: 04-21-2004, 03:54 AM
  4. Permission denied to root
    By relinguin in forum General Support
    Replies: 0
    Last Post: 02-27-2004, 01:02 PM
  5. permission denied
    By simple in forum General Support
    Replies: 1
    Last Post: 12-23-2002, 05:15 AM

Posting Permissions

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


WD Blue 3D NAND 1TB 2.5

WD Blue 3D NAND 1TB 2.5" SATA Solid State Drive WDBNCE0010PNC-WRSN 99% HEALTH

$80.00



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro

$429.73



Western Digital 1TB 3.5

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive

$29.99



Samsung T7 Shield 1TB Portable External SSD USB 3.2 Black MU-PE1T0S NEW SEALED picture

Samsung T7 Shield 1TB Portable External SSD USB 3.2 Black MU-PE1T0S NEW SEALED

$219.99



Seagate ST1000VM002 1TB 5900RPM 3.5

Seagate ST1000VM002 1TB 5900RPM 3.5" SATA 6GB/s HDD Video Hard Drive PC DVR

$24.99



Acer Aspire 14

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb

$438.51



Acer Aspire 16 16

Acer Aspire 16 16" Laptop Core Ultra 5 226V S2 16GB RAM 1TB SSD Arc Refurbished

$533.51



Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot picture

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot

$129.99



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$375.05



Dell Latitude 15.6” FHD Core i5 Laptop PC Up To 32GB RAM 1TB SSD Windows 11 picture

Dell Latitude 15.6” FHD Core i5 Laptop PC Up To 32GB RAM 1TB SSD Windows 11

$422.85