How to know if a volume is mounted with ACL enabled

Discussion in 'Mac Programming' started by info1686, Apr 6, 2009.

  1. macrumors newbie

    #1
    Hello All,
    I need to identify programatically information about a volume, its type flags. I can get this information using statfs() function. But how do I know if a volume is mounted with ACL's enabled?

    Thanks
     
  2. Moderator emeritus

    kainjow

    #2
    I would look at 'man acl' - that documents the API.
     
  3. macrumors newbie

    #3
    That is not giving me any useful information. Does getmntinfo() or statfs() provide this option?
     
  4. macrumors demi-god

    wrldwzrd89

    #4
    The CLI command fsaclctl, when invoked without any options, will print the status of ACLs on the specified volume. I don't know how to invoke this from a program (other than a shell script), though.
     

Share This Page