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

storage-efs-mountfilesystem.config EFS write access stopped working but we didn't make any changes. #158

Open
teamsaasbox opened this issue Feb 10, 2022 · 1 comment

Comments

@teamsaasbox
Copy link

Hi,

EFS is mounted successfully and when connecting to EBS instance via SSH I have read/write access.

But from the running NodeJS process write access started failing with a EACCESS error with no notable changes in our configuration.

Logs:

ip-10-0-2-103 web: Unhandled rejection Error: EACCES: permission denied, mkdir '/efs/42652a13-66a3-4dd3-960e-243dc0160ee6/templates/a0709963-1d9d-40b3-90f9-f542a909db30'

We use: configuration-files/aws-provided/instance-configuration/storage-efs-mountfilesystem.config

Here is the output from ls -al:
drwxr-xr-x 3 995 993 6144 Jan 6 19:38

Somehow the user/group changed to 995 and 993 (or were always that way).

Thanks

@teamsaasbox
Copy link
Author

efs]$ sudo chmod 777 -R ./* fixed the problem. But somehow something changed by AWS in EFS / EBS without us making an explicit update.

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