• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Ignore Ownership on this volume" check-box status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Passing C Style Function Callbacks in Cocoa
  • Next by Date: Re: Implementing Licensing in C/ObjC/Cocoa (was: Re: [now OT] Licensing/Implementing in Cocoa/Obj-C - Interest in product?)
  • Previous by thread: "Ignore Ownership on this volume" check-box status
  • Next by thread: Re: "Ignore Ownership on this volume" check-box status
  • Index(es):
    • Date
    • Thread