sudo chown -R yourname:www-data cake
then
sudo chmod -R g+s cake
First command changes owner and group.
Second command adds s attribute which will keep new files and directories within cake having the same group permissions.
More Related Contents:
- Reference: mod_rewrite, URL rewriting and “pretty links” explained
- How to fix npm throwing error without sudo
- htaccess remove index.php from url
- sudo echo “something” >> /etc/privilegedFile doesn’t work [duplicate]
- How to hide the .html extension with Apache mod_rewrite
- How to debug .htaccess RewriteRule not working
- How to CORS-enable Apache web server (including preflight and custom headers)?
- Are square brackets permitted in URLs?
- .htaccess rewrite query string as path
- Apache 2.4 + PHP-FPM and Authorization headers
- How to redirect URLs based on query string?
- Mod_Rewrite unexpected behavior L flag
- .htaccess rewrite “/book.php?id=1234” to “/book/1234”
- Adding VirtualHost fails: Access Forbidden Error 403 (XAMPP) (Windows 7)
- How to redirect non-www to www URL’s using htaccess?
- Laravel Routes not working, Apache configuration only allows for public/index.php/route
- “End of script output before headers” error in Apache
- How to make static content on Apache be cached by browser and not checked for freshness with every request?
- mod_rewrite: remove query string from URL?
- What exactly is a pre-fork web server model?
- Apache won’t follow symlinks (403 Forbidden)
- SSE(EventSource): why no more than 6 connections?
- .htaccess 301 redirect for all https to http EXCEPT ONE PAGE
- XAMPP Apache Webserver localhost not working on MAC OS
- How can I mod_rewrite and keep query strings?
- Custom 404 error issues with Apache – the ErrorDocument is 404 as well
- How do I increase the stack size for Apache running under Windows 7?
- A general linux file permissions question: Apache and WordPress
- Force HTTPS on certain URLs and force HTTP for all others
- tunneling secure websocket connections with apache