To remove extended permissions or ACLs on a directory in terminal. Use this command:
chmod -N DIRECTORY
To do this recursively (all directories inside) use:
chmod -RN DIRECTORY
Where DIRECTORY is the path to the directory (folder) you want to apply the command to.
My latest blog post: Problematic Ideas: Some people will read this and think, what's the problem here? (posted 2025-08-30). Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 51
Warning: mysqli_connect(): Error while reading greeting packet. PID=22703 in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 51
Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 51
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 52
Could not connect to MySQL: