1

Remove noexec from Home folder

view story
linux-howto

http://unix.stackexchange.com – I trying to deploy an rails application into /home/app/myapp, but when application tries to connect to Mysql, I get this error: ** [out :: 192.168.110.50] /home/app/myapp/shared/bundle/ruby/1.9.1/gems/mysql2-0.3.11/lib/mysql2/mysql2.so: failed to map segment from shared object: Operation not permitted - /home/app/myapp/shared/bundle/ruby/1.9.1/gems/mysql2-0.3.11/lib/mysql2/mysql2.so 'app' user has root privilegies, so it no make sense. After googling, I find that noexec in home folder can block system calls. This my fstab file: $cat /etc/fstab # # /etc/fstab # Created by anaconda on Wed (HowTos)