• 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
Determining if a volume support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining if a volume support


  • Subject: Determining if a volume support
  • From: James Bucanek <email@hidden>
  • Date: Mon, 18 Feb 2008 12:38:03 -0700

I'm trying to determine if a volume supports access control lists (ACLs). I dug around FSGetVolInfo and FSGetVolParams and can't seem to find a bit that says "bSupportsACLs".

I have two problems I'm trying to solve. First, getting the ACLs for every item on a volume is a (slight) waste of time on volumes that don't support ACLs because every item returns an empty ACL definition record which then must be destroyed.

My biggest problem is that if I obtain an ACL list from a file on one volume, copy the file to another, then attempt to restore those ACLs on a volume that doesn't support ACLs, the FSSetCatalogInfo call chokes.

According to <file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Networking/Conceptual/AFP/Concepts/chapter_2_section_8.html> access control lists are enabled on a per-volume basis. So you'd think there'd be some simple way of finding out.

--
James Bucanek

_______________________________________________
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


  • Follow-Ups:
    • Re: Determining if a volume support
      • From: James Peach <email@hidden>
  • Prev by Date: Unified Carbon interface for extended attributes?
  • Next by Date: Re: Determining if a volume support
  • Previous by thread: Re: Unified Carbon interface for extended attributes?
  • Next by thread: Re: Determining if a volume support
  • Index(es):
    • Date
    • Thread