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 9176123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:01:56+00:00 2026-06-17T17:01:56+00:00

Afternoon all, Attempting to get my Rails app working on a Mac Apache MySql

  • 0

Afternoon all,

Attempting to get my Rails app working on a Mac Apache MySql Ruby setup and a passenger directory. When I try and access it through the web front eend I get the following error.

*** Exception Errno::EACCES in spawn manager (Permission denied - /tmp/passenger.1.0.54375/generation-0/spawn-server/socket.54643.70317578161560) (process 54643, thread #<Thread:0x007fe82c0519c0>):

Apache config for this vhost looks like this

<VirtualHost *:80>
  ServerName test.me
  DocumentRoot /Users/me/Projects/app/public
  <Directory /Users/me/Projects/app/public>
     AllowOverride all
     Options -MultiViews
  </Directory>

Can anyone see what I am missing? FWIW the folder it tries to access is owned by root which seems a bit odd

drwsr-xr-x   3 root        wheel   102 11 Oct 15:25 passenger.1.0.54375
  • 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-17T17:01:57+00:00Added an answer on June 17, 2026 at 5:01 pm

    Passenger assumes the owner of config/environement.rb (see http://www.modrails.com/documentation/Security%20of%20user%20switching%20support.html, restart apache/passenger for changes to take effect) and this user needs write and execute rights for tmp.

    So, find out who owns config/environement.rb:

    $> ls -lah config/environment.rb 
    -rwxr-xr-x 1 www-data www-data 152 Jan 22 07:53 config/environment.rb
    

    I choose www-data here, as this is the user my apache uses. I don’t reccomend root.

    $> chown www-data:www-data config/environment.rb
    

    Giving this user full access to the tmp folder and its contents should be sufficient:

    $> chmod -R 700 tmp
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Afternoon all. I'm building a web app and I'm attempting to pull through some
I have been trying all afternoon to get the CoreData portion of my app
I have been struggling all afternoon trying to get a simple mailto: tag to
I have been trying all afternoon to get the jQuery Sifr Plugin ( http://jquery.thewikies.com/sifr/
I worked all afternoon on a simple thing but cannot seem to get it
Afternoon all. I've recently been tasked with working on an event-based support ticket system,
Good afternoon all, I was wondering why is it that android.app.Activity.onTrimMemory couldn't be overridden?
Afternoon All, I have a web form that i wish my user to fill
Afternoon all. I have a drop down list in my view <div class=editor-label> @Html.LabelFor(model
Afternoon All, I have a web site where i need to know who is

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.