Thursday, November 27, 2014

problem installing passenger

EXCEPTION: parent directory is world writable


*** EXCEPTION: parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: "/tmp/passenger.1xu4rh9" (parent directory mode 40777) (ArgumentError)
    /home/pubuntu/.rvm/rubies/
ruby-1.9.3-p448/lib/ruby/1.9.1/fileutils.rb:708:in `remove_entry_secure'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/lib/phusion_passenger/utils/tmpio.rb:61:in `ensure in mktmpdir'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/lib/phusion_passenger/utils/tmpio.rb:61:in `mktmpdir'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/lib/phusion_passenger/platform_info.rb:158:in `create_temp_file'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/lib/phusion_passenger/platform_info/compiler.rb:236:in `try_compile'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/lib/phusion_passenger/platform_info/apache.rb:550:in `apr_config_needed_for_building_apache_modules?'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/lib/phusion_passenger/platform_info.rb:96:in `apr_config_needed_for_building_apache_modules?'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/bin/passenger-install-apache2-module:77:in `dependencies'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/lib/phusion_passenger/abstract_installer.rb:134:in `check_dependencies'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/bin/passenger-install-apache2-module:104:in `run_steps'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/lib/phusion_passenger/abstract_installer.rb:69:in `run'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.21/bin/passenger-install-apache2-module:298:in `<top (required)>'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/bin/passenger-install-apache2-module:23:in `load'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/bin/passenger-install-apache2-module:23:in `<main>'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `eval'
    /home/pubuntu/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `<main>'
solution is:
The parent directory in question is /tmp. The error is a security
precaution, warning you that you have your permissions wrong. Your
/tmp directory should have the sticky bit turned on.  


No comments:

Post a Comment

Cybermap

Internet Storm Center Infocon Status

Internet Storm Center Infocon Status
Internet Storm Center Infocon Status