Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8466243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:17:03+00:00 2026-06-10T15:17:03+00:00

I am having trouble getting the permissions correct. I am trying to get it

  • 0

I am having trouble getting the permissions correct. I am trying to get it running in a local environment on my Mac via XAMPP.

I have tried the following:

  • Doing the unmask
  • Setting The Permissions
  • Clearing the cache via php app/console cache:clear
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T15:17:04+00:00Added an answer on June 10, 2026 at 3:17 pm
    rm -rf app/cache/*
    rm -rf app/logs/*
    
    sudo chmod +a "www-data allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
    sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
    

    Make sure you replace the www-data user with the user your web server runs as. Find out which user your web server runs as by running the command:

    ps aux | grep http
    

    Or

    ps aux | grep apache
    

    You may also need to enable ACL. See the Installation docs for more information, and see this page for information on ACL.

    When running Symfony from the command line, cached files/directories are created by the user you’re logged in as – in your case, “jess”. When running the web page in your browser, they’re created by the web server user – in your case, the user “nobody”. Your user does not have access to modify files and dirs created by the web server, and vice versa.

    Changing your web server to run as the same user as your login is not the ideal solution as it’s not a very secure option, and you are still going to have the same problem when you put your site on another server.

    The solution is to ensure you’ve followed the Setting Up Permissions section of the installation docs at http://symfony.com/doc/current/book/installation.html.

    Make sure you rm -rf the contents of the folder, and not just php app/console cache:clear, as the symfony clear cache command will create dirs/files, which are still not writable by your web server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having trouble getting my local IIS7 running C # MVC app to connect to
Having trouble getting the django-socialregistration app running properly. We were able to get the
I am having trouble getting my application to work correctly. I am trying to
I'm currently writing a WordPress plugin and I am having trouble getting the permissions
I'm trying to package up resources into a jar, but I'm having trouble getting
Having trouble getting the correct bounds for my iPad application when launching it in
having trouble getting my directx going I get the following error 1>Linking... 1>main.obj :
Having trouble getting this to work. What's strange is that I have 10 bookmarks
I am running Ubunutu Linux server, PHP5, Apache2 and am having trouble getting any
I'm having trouble running the ActiveRecord gem tests in PostgreSQL and am getting the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.