Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error while executing rails code : Errno::EACCES (Permission denied @ dir_s_mkdir - /home/ec2-user/index_files): #271

Open
sridharmalepati opened this issue Sep 4, 2017 · 1 comment

Comments

@sridharmalepati
Copy link

Hi,

I did search and went thru lots of links , but none were solving the issue, so creating a ticket here.

Error:
Errno::EACCES (Permission denied @ dir_s_mkdir - /home/ec2-user/index_files):

The ruby rails code is executing and generating the above error.

I did check the permissions for the folder and sub-folders, it has all the necessary permissions:
drwxrwxrwx 5 webapp webapp 4096 Mar 7 16:53 index_files

Am not clear how to proceed further.
Ruby version : 64bit Amazon Linux 2015.09 v2.0.4 running Ruby 2.2 (Passenger Standalone)

The code was working before, but suddenly am seeing this new error coming into picture!

Regards
Sridhar

@sridharmalepati
Copy link
Author

Yes i also ran "bundle install" in my source folder, it ran without doing any new installation, as all the gems were already there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant