Re: "Ignore Ownership on this volume" check-box status
Re: "Ignore Ownership on this volume" check-box status
- Subject: Re: "Ignore Ownership on this volume" check-box status
- From: Lorenzo <email@hidden>
- Date: Thu, 08 Apr 2004 16:58:48 +0200
Hi Charles,
thank you for replying.
I have just seen at the Apple Developer web page
http://developer.apple.com/samplecode/MoreAuthSample/listing3.html
the routine MoreSecIsFolderIgnoringOwnership
which creates a file on the volume, then it checks the group permissions.
If they are not "unknown" this means that the volume can manage ownership.
And so forth. I changed some Carbon API to Cocoa API and it works well.
It's about 100 lines of code.
Anyway I am going to test your suggestion. It sounds simpler.
Question: do these 2 methods return the right value for all the volume
kinds? For example, on Unix volumes, Windows, others...
Thank you.
Best Regards
--
Lorenzo
email: email@hidden
>
From: Charles Srstka <email@hidden>
>
Date: Thu, 08 Apr 2004 09:19:10 -0500
>
To: Lorenzo <email@hidden>
>
Subject: Re: "Ignore Ownership on this volume" check-box status
>
>
On Apr 8, 2004, at 4:48 AM, Lorenzo wrote:
>
>
> Hi,
>
> I select a volume icon in the Finder, then call the menu item "Get
>
> Info".
>
> I go to the sub-panel "Ownership & Permissions" and see the check-box
>
> "Ignore Ownership on this volume".
>
>
>
> How to get the status of this check-box programmatically?
>
> Any suggestion would be welcome.
>
>
You can launch the vsdbutil tool - it's capable of doing this.
>
>
Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.