 |
 |
Can't access Disk Image - permission denied
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status:
Offline
|
|
I have mounted a disk image but it does not show up on the Desktop. I can see it in Terminal but trying to "cd volumeName" gives me "Permission denied" I have tried sudo chown -R root:admin "/Volumes/volumeName/" with no luck. I am an admin user on this machine.
How can I rescue this?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status:
Offline
|
|
To add to this - I have another disk image mounted (8GB of data) When I click the image icon on the desktop and choose Get Info, the "Ignore Permissions on the volume" checkbox has a horizontal line through it. Changing it to checked or unchecked does nothing - when I close it and pull it back up the horizontal line is there.
Help!
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status:
Offline
|
|
Also, when trying to change permissions in Finder I get "an unexpected error occured 213"
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status:
Offline
|
|
Ok - I was able to get it back by enabling the root user, giving it a password and login in that way. I rechecked "ignore permissions on this volume" for the disk image. It mounts fine in my normal admin account now, but how can I get a working disk image with active permissions? if I try unchecking this box, it dies again.
This image was created on a G4 and now lived on a MBP if that matters.
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Originally Posted by Trygve
Ok - I was able to get it back by enabling the root user, giving it a password and login in that way. I rechecked "ignore permissions on this volume" for the disk image. It mounts fine in my normal admin account now, but how can I get a working disk image with active permissions? if I try unchecking this box, it dies again.
This image was created on a G4 and now lived on a MBP if that matters.
Holy crap, all you probably needed to do was Get Info on the disk image file itself (the one with the .dmg extension) and fix the permissions so it's owned by you. Logging in as root is a very dangerous thing to do...
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2004
Location: Portugal
Status:
Offline
|
|
have you repaired the premissions?
My permissions some times go crazy, and I fix them and it solves it.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status:
Offline
|
|
Originally Posted by CharlesS
Holy crap, all you probably needed to do was Get Info on the disk image file itself (the one with the .dmg extension) and fix the permissions so it's owned by you. Logging in as root is a very dangerous thing to do...
Nope - this does not work. If you create a disk image on a PPC and then move it to a MBP, then open it and choose Get info to change the permission. It will start out as either checked or unchecked. But if you toggle it, it will change to a "-" and then your disk image is inaccessable except as root.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status:
Offline
|
|
In summary...
I have found a serious issue with permissions and disk images:
1. Create a disk image on a PPC (ie a G4 ALBook) under Tiger.
2. Unmount and move the dmg to a Intel Mac (MBP)
3. Mount the image and use Get Info to toggle the "ignore permissions" for this disk image-based volume.
Your disk image is now inaccessible except as root. Doing Get Info again will show the permissions checkbox as "-" (blue) meaning multiple states. You can not change it from this condition. If you unmount the image and remount it, it will not appear in Finder but will show up in terminal... However you will not be able to cd to view its list of files.
I had to log in as root and remount the disk image to change this setting. It does not matter if the volume starts out as permission allowed or ignored - toggling it kills the volume.
!!!
Trygve
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Did you check the permissions on the disk image file (with extension .dmg) itself instead of the icon that shows up on the Desktop when you mount it? It sounds like you are still dealing with the latter. What I want you to do is check the .dmg file and make sure your access is Read & Write in the Get Info box. Alternatively, you could use the Terminal and make sure the file is chowned to you and that the permissions are read and write for the owner.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status:
Offline
|
|
access to the .dmg is fine - R/W and permissions are good on the dmg itself.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|