How to uncheck the Ignore ownership on this volume programatically
How to uncheck the Ignore ownership on this volume programatically
- Subject: How to uncheck the Ignore ownership on this volume programatically
- From: "Elango C" <email@hidden>
- Date: Fri, 17 Mar 2006 12:19:37 +0530
Hi all,
I am writing a backup application for Mac OS Tiger (Intel and PPC)
like a carbon copy cloner. Now I have an issue, when I copy the
files from my root volume to a newly created volume; the file
permission got messed up otherwise the files whcih I copied doesnt
have the ownership and permission what i had in the source volume.
I found more articles about the problem; people have said to use the
"vsdbutil" command to preserve the privilleges to the volume (i.e.
vsdbutil -a <volume name>). But I need to do it in programatical way.
Note: I have also tried to fork the process in my C code but it
returns the following
### You must be root to perform this operation###
But I am doing this process with the Administrator / root privilleges
in my tool.
Can any one help me on this regard.
Regards,
--Elango C
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden