Closed KLicheR closed 10 years ago
I'm guessing there's a mismatch between the ownership of either the sparsebundle, the dmg mount dir, or the final mount dir. Try running all commands as root, or all commands as your own user (mounting to eg /tmp/foo or somewhere you have write permissions).
You can also play around with the allow_other
and allow_root
options to fuse:
http://manpages.ubuntu.com/manpages/precise/man8/mount.fuse.8.html
It worked!
I mounted my ".sparsebundle" file to a directory with this command:
$ sudo sparsebundlefs -o allow_other /path/to/my/file.sparsebundle /path/to/my/mountdir
After that, I've been able to mount it with the losetup
thing that you explain in the Readme.
Thanks again!
Excellent :fireworks:
For anyone landing here in the future, this should be clarified and fixed by 7d81b50bb8243f
Hi,
First of all, thanks a lot for this!
My problem is that I cannot mount the .dmg file, it say:
Here's my steps:
$ sparsebundlefs /path/to/my/file.sparsebundle /path/to/my/mountdir
I tried it also with Debug mode on, no errors./path/to/my/mountdir
, I can see thesparsebundle.dmg
, with access modugo=r
and ownroot:root
$ sudo mount -o loop -t hfsplus /path/to/my/mountdir/sparsebundle.dmg /path/to/my/mountdirDMG
Then I get a
/path/to/my/mountdir/sparsebundle.dmg: Permission denied
.Here's what I get when I "verbose" the
mount
command:I saw the thing about
losetup
but I think that I have to pass through the permissions issues before looking into that.Do you know what I'm doing wrong?
Thanks again!