mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #2031] Unable to mount s3 using user-data script #1023
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1023
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vivekmystrey on GitHub (Sep 9, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2031
Hi,
I am trying to mount an S3 bucket on EC2 Instance parsing below User-Data Script:
But, it is unable to mount an S3 bucket and could see the following results on Ec2 Instance:
ubuntu@ip-10-0-3-75:~$ ls -ltrs
ls: cannot access 'dsmfs': Permission denied
total 4
? d????????? ? ? ? ? ? dsmfs
And when I run the same script from the ssh client it works and the S3 bucket is mounted successfully?
Do, we need to parse any additional argument when mounting needs to be done non-interactively?
@ggtakec commented on GitHub (Sep 24, 2022):
I think that the Network will be available before UserDataScript is called, so I think it has no problem to start s3fs in this phase.
But, it looks like you don't have access, as indicated by
ls: cannot access "dsmfs": Permission deniedyou indicated.You may need to set
user_allow_otherin/etc/fuse.conf.Prepare this file and try it.
Thanks in advance for your assistance.