Ruby on Rails Thursday, June 13, 2019

So, finally -- enjoying all the positive suggestions and wishful thinking, like a caring push by the wind on my bike -- I cracked it! 

:D

The giveaways were 

-  /var/lib/nginx/tmp/client_body/0000000004" failed (13: Permission denied) in /var/log/nginx/sucker.error.log
- the 'dot' after the files!

I knew I had disabled SELinux already but little did I know that files are protected even with SELinux disabled (makes a lot of sense)

So I had to do this

# yum install attr
# find /var/lib/nginx -exec sudo setfattr -h -x security.selinux {} \;
# cd /var/lib/nginx
# chown -R oxenserver.nginx tmp
# chmod 766 -R tmp
# service nginx reload

(on my CentOS box with the /etc/nginx.conf user set to oxenserver)

Thank you for your attention and interest!
Walther

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/341cc0a5-d386-4ae9-937e-e3eab5622fe2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment