Re: Where is the "Ignore ownership on this volume" bit?
Re: Where is the "Ignore ownership on this volume" bit?
- Subject: Re: Where is the "Ignore ownership on this volume" bit?
- From: Quinn <email@hidden>
- Date: Mon, 25 Aug 2008 18:08:05 +0100
At 9:41 -0700 25/8/08, Bucanek James wrote:
I've got a backup application that needs to set/restore the state of
the "ignore ownership on this volume" property before restoring a
volume.
It's not stored on the volume itself, it's store in a file on the
root file system. If you think about it, it makes sense: if a volume
is adopted on one machine and you move it to another machine, you
definitely don't want it adopted on that second machine.
See the following for more info:
"/var/db/volinfo.database"
<x-man-page://8/vsdbutil>
AFAIK there's no supported way to programmatically change this
setting <rdar://problem/3061192>. Fork/exec'ing vsdbutil is not the
answer, alas. This state is managed by DiskArb and going but if you
run vsdbutil directly you're going behind DiskArb's back.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden