I created a new user in CentOS 6.3 using this commandsuseradd deployerpasswd deployervisudothen I added this line to file:deployer ALL=(ALL) ALLFine!Now I trying to install rbenv, to deploy an RoR application. I followed this steps:cd /home/deployersu deployercurl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bashIt worked. After, I added rbenv to .bashrc and tried to reload .bashrc file andget this error:[deployer@mycentos ~]$ . ~/.bashrc bash: /home/deployer/.rbenv/bin/rbenv: Permission deniedAnyone know why?
Unable to install rbenv with deployer user in CentOS - Permission denied
centos;deployment
Solved!I was getting this error because /home folder was mounted with noexec option.$cat /etc/fstab .../dev/mapper/VG00-LVhome /home  ext4    defaults,noexec,nosuid        1 2Now, I changed app to /usr folder and it works!Thank you!