You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how to mount sparsebundle?

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.

Macbook Pro, Mac OS X (10.5.5)

Posted on Jul 15, 2009 6:34 AM

Reply
16 replies

Jul 15, 2009 6:39 AM in response to ctc1

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.

Jul 15, 2009 6:44 AM in response to V.K.

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.

Jul 15, 2009 7:03 AM in response to ctc1

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.

Jul 15, 2009 4:46 PM in response to V.K.

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.

Jul 15, 2009 5:01 PM in response to ctc1

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.

Jul 15, 2009 5:21 PM in response to baltwo

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.

Jul 15, 2009 5:28 PM in response to V.K.

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

Jul 15, 2009 5:42 PM in response to V.K.

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

how to mount sparsebundle?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.