Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jastanle84

macrumors member
Original poster
Oct 18, 2014
30
0
Chiang Mai, Thailand
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?
 
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?

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
 
Thank you. Works great!!!

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

Thanks for the command. It works great!!!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.