Skip to content

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

@sridharmalepati

Description

@sridharmalepati

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions