Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Can't access Disk Image - permission denied

Can't access Disk Image - permission denied
Thread Tools
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status: Offline
Reply With Quote
May 3, 2006, 02:08 AM
 
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?
     
Trygve  (op)
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status: Offline
Reply With Quote
May 3, 2006, 02:27 AM
 
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!
     
Trygve  (op)
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status: Offline
Reply With Quote
May 3, 2006, 02:30 AM
 
Also, when trying to change permissions in Finder I get "an unexpected error occured 213"
     
Trygve  (op)
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status: Offline
Reply With Quote
May 3, 2006, 02:56 AM
 
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
Reply With Quote
May 3, 2006, 03:15 AM
 
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...

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Senior User
Join Date: Oct 2004
Location: Portugal
Status: Offline
Reply With Quote
May 3, 2006, 04:22 AM
 
have you repaired the premissions?
My permissions some times go crazy, and I fix them and it solves it.
     
Trygve  (op)
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status: Offline
Reply With Quote
May 3, 2006, 04:59 AM
 
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.
     
Trygve  (op)
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status: Offline
Reply With Quote
May 3, 2006, 05:10 AM
 
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
Reply With Quote
May 3, 2006, 11:18 AM
 
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.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Trygve  (op)
Mac Enthusiast
Join Date: Jul 2000
Location: Dubai, UAE
Status: Offline
Reply With Quote
May 3, 2006, 11:29 AM
 
access to the .dmg is fine - R/W and permissions are good on the dmg itself.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:56 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2