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 > Preserve Owner on DMG

Preserve Owner on DMG
Thread Tools
Mac Elite
Join Date: Aug 2002
Location: Kyoto, Japan
Status: Offline
Reply With Quote
Feb 15, 2003, 05:33 PM
 
Hi!

I need to copy an application to a DMG image, but there is a file inside the application that is owned by system. If I change the owner of that file, the application won't run. I need to put the program on a DMG image, and it won't allow me to because of the file being owned by system.

So, I either need to have the DMG image preserve the owner of the file, or I need to make an AppleScript that sets the owner of the file back to system.

Any ideas? Thanks in advance!
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Feb 15, 2003, 06:11 PM
 
Mount the dmg, click the icon that appears on the desktop, Get Info, click Ownership & Permissions, uncheck "Ignore ownership on this volume." Then unmount the disk image, remount it, and copy your file.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Mac Elite
Join Date: Aug 2002
Location: Kyoto, Japan
Status: Offline
Reply With Quote
Feb 15, 2003, 06:37 PM
 
Domo arigato! (Thanks!)
     
   
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 03:43 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