Set ACL on Applications Directory to Everyone Deny Delete

Discussion in 'Mac Basics and Help' started by jastanle84, Nov 12, 2014.

  1. jastanle84 macrumors member

    Joined:
    Oct 18, 2014
    Location:
    Chiang Mai, Thailand
    #1
    I removed the only ACL on the /Applications directory by running
    Code:
    chmod -N /Applications
    when I was trying to get my XAMPP server running and displaying my default web page. I fixed my issue with displaying the default web page and now I need to change the ACL on the /Applications directory back to Everyone deny delete so I can lock my system back down. I have read the man page for chmod but I am having no luck setting it. This may be simple but I am a newbie when it comes to ACLs on directories and files and would like to get some assistance with this. Any suggestions or links to where I can get some further assistance with setting ACLs on directories and files?
     
  2. subsonix macrumors 68040

    Joined:
    Feb 2, 2008
    #2
    Who is the owner of /Applications, if it's root you need sudo to make changes to the folder. Also, is the problem that you do not remember the previous settings, or that you're unable to make any changes? You use the +a option to chmod if you want to add ACLs.

    I just tried this on a test folder here:

    Code:
    chmod +a "everyone:deny:delete" testfolder
    
     
  3. jastanle84 thread starter macrumors member

    Joined:
    Oct 18, 2014
    Location:
    Chiang Mai, Thailand
    #3
    Thank you. Works great!!!

    Thanks for the command. It works great!!!
     

Share This Page