Benches macOS

15

how to mount sparsebundle?

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Can someone please explain how to mount a sparsebundle? When I click on the file in finder I get an error "operation not supported on socket."

Here is what happened: I had a user account with Firevault enabled. I deleted this account and chose the option to save the account as a disk image. The file was created not as a .dmg but as a sparsebundle. But now I can't access the files within the sparsebundle, because I can't get it to mount.

Thanks.

15 replies

Sign in or join Beachball Help to reply.

  1. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    ctc1 wrote:

    Can someone please explain how to mount a sparsebundle?

    by double-clicking on it in finder.

    When I click on the file in finder I get an error "operation not supported on socket."

    that means that either the bundle is corrupt or possibly you don't have correct permissions to it. what are the permissions on the bundle?

    Here is what happened: I had a user account with Firevault enabled. I deleted this account and chose the option to save the account as a disk image. The file was created not as a .dmg but as a sparsebundle. But now I can't access the files within the sparsebundle, because I can't get it to mount.

    Thanks.

  2. 0

    ctc1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I changed the permissions so that my user account had read/write access. Do I need to do something special with the permissions as a result of this user account being created with firevault active?

    As a test, I created another user account without Firevault being activated, then deleted the account. The deleted user account was created as a .dmg and I could mount it with no problem.

  3. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    As a test, I created another user account without Firevault being activated, then deleted the account. The deleted user account was created as a .dmg and I could mount it with no problem.

    ctc1 wrote:

    I changed the permissions so that my user account had read/write access.

    that's not enough. a sparse bundle is a folder and you have to apply the permissions recursively.

    enter the following in terminal (copy and paste please)

    sudo chown -R `id -un`:`id -gn`

    DO NOTR press enter yet. press space. drag the sparse bundle to the terminal window. the result will look like this

    sudo chown -R `id -un`:`id -gn` /Users/Deleted Users/username.sparsebundle

    here username should be the name of the sparsebundle.

    press enter in terminal. you'll have to enter your admin password (which you won't see). that's normal. then enter the following terminal command

    chmod -R a
    r,X /Users/Deleted Users/username.sparsebundle

    again, the username will be the name of teh sprse bundle. when all is done try mounting the bundle again.

    Do I need to do something special with the permissions as a result of this user account being created with firevault active?

    As a test, I created another user account without Firevault being activated, then deleted the account. The deleted user account was created as a .dmg and I could mount it with no problem.

  4. 0

    ctc1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for your suggestions. Unfortunately I'm still stuck. The first part worked:

    enter the following in terminal (copy and paste please)

    sudo chown -R `id -un`:`id -gn`

    DO NOTR press enter yet. press space. drag the sparse bundle to the terminal window. the result will look like this

    sudo chown -R `id -un`:`id -gn` /Users/Deleted Users/username.sparsebundle

    The second command didn't work. it returned the following: chmod: /Users/Deleted Users/test.sparsebundle: Operation not permitted

    chmod: /Users/Deleted Users/test.sparsebundle/bands: Permission denied

    chmod: /Users/Deleted Users/test.sparsebundle/Info.bckup: Permission denied

    chmod: /Users/Deleted Users/test.sparsebundle/Info.plist: Permission denied

    chmod: /Users/Deleted Users/test.sparsebundle/token: Permission denied

    chmod: /Users/Deleted Users/test.sparsebundle: Permission denied

    here username should be the name of the sparsebundle.

    press enter in terminal. you'll have to enter your admin password (which you won't see). that's normal. then enter the following terminal command

    chmod -R a
    r,X /Users/Deleted Users/username.sparsebundle

    again, the username will be the name of teh sprse bundle. when all is done try mounting the bundle again.

  5. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You need to include the sudo part.

  6. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    ctc1 wrote:

    Thanks for your suggestions. Unfortunately I'm still stuck. The first part worked:

    enter the following in terminal (copy and paste please)

    sudo chown -R `id -un`:`id -gn`

    DO NOTR press enter yet. press space. drag the sparse bundle to the terminal window. the result will look like this

    sudo chown -R `id -un`:`id -gn` /Users/Deleted Users/username.sparsebundle

    The second command didn't work. it returned the following: chmod: /Users/Deleted Users/test.sparsebundle: Operation not permitted

    chmod: /Users/Deleted Users/test.sparsebundle/bands: Permission denied

    chmod: /Users/Deleted Users/test.sparsebundle/Info.bckup: Permission denied

    chmod: /Users/Deleted Users/test.sparsebundle/Info.plist: Permission denied

    chmod: /Users/Deleted Users/test.sparsebundle/token: Permission denied

    chmod: /Users/Deleted Users/test.sparsebundle: Permission denied

    that would indicate that the first command didn't succeed. if it did the second command would have worked too. did the first command give any feedback? is your admin password by any chance blank?

    here username should be the name of the sparsebundle.

    press enter in terminal. you'll have to enter your admin password (which you won't see). that's normal. then enter the following terminal command

    chmod -R a
    r,X /Users/Deleted Users/username.sparsebundle

    again, the username will be the name of teh sprse bundle. when all is done try mounting the bundle again.

  7. 0

    ctc1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks to everyone so far. baltwo helped solve the last problem: after I put "sudo" in front of chmod -R a
    r,X /Users/Deleted Users/username.sparsebundle the operation completed.

    Now the file has turned into an image. I double click on it, and asks me for my password. I enter my firevault password, but now I get this error:

    "no mountable file systems"

    Thoughts? I know there are files in there.

  8. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    as i said in my previous post it would seem that the first terminal command didn't work. run this

    ls -ladeO /Users/Deleted Users/username.sparsebundle

    what do you get?

  9. 0

    ctc1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    thanks for sticking with me. the first command looked like it worked - it didn't return any error messages, but I don't know anything about using terminal.

    V.K. wrote:

    as i said in my previous post it would seem that the first terminal command didn't work. run this

    ls -ladeO /Users/Deleted Users/username.sparsebundle

    what do you get?

    this returns the following:

    drwxr-xr-x@ 6 502 staff - 204 Jul 15 20:04 /Users/Deleted Users/test1.sparsebundle

    0: user:Chris allow list,add
    file,addsubdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity

    the

  10. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    those permissions are wrong. please rerun the first terminal command I gave you. also, is Chris your current username?

  11. 0

    ctc1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I re-ran the command, but still not working. And yes, my username is Chris.

    Here is what it looks like in terminal:

    sudo chown -R `id -un`:`id -gn`/Users/Deleted Users/test1.sparsebundle

    Password:

    usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...

    chown [-fhv] [-R [-H | -L | -P]] :group file ...

    Here is the info after re-running the last command you gave as well:

    drwxr-xr-x@ 6 502 staff - 204 Jul 15 20:04 /Users/Deleted Users/test1.sparsebundle

    0: user:Chris allow list,add
    file,addsubdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity

  12. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    there is a space missing in the command. it should be

    sudo chown -R `id -un`:`id -gn` /Users/Deleted Users/test1.sparsebundle

  13. 0

    ctc1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You're awesome! That did the trick - thanks so much for all your help. The image is now mounted.

  14. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    you are welcome!

  15. 0

    ctc1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Just in case anyone else runs into this problem, I recreated this issue. I only needed to enter the following command and the sparsebundle mounted, with access to files:

    sudo chown -R `id -un`:`id -gn` /Users/Deleted Users/username.sparsebundle