Make a directory writable by Apache on macOS
·1 min read·paskov
Here’s a quick reference for making a directory writable by the Apache web server included with macOS.
-
Set the directory’s owner to the
_wwwuser and its group tostaff:sudo chown -R _www:staff path/to/folder/ -
Set the permissions so the
_wwwuser can write to the directory without granting write access to other users:sudo chmod -R 755 path/to/folder