mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #492] URGENT QUESTION: Operation not permitted #276
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#276
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 @victropolis on GitHub (Nov 3, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/492
Another app that uses the AWS S3 Java SDK to upload content to an s3 bucket. When I look at the bucket using s3fs, I get "Operation not permitted" on the directories.
The FAQ talks about setting the following headers properly, but it doesn't go into a lot of detail.
Can you please give me some examples? Or, point me at some sample code somewhere? Thanks in advance!
@ggtakec commented on GitHub (Jan 7, 2017):
@victropolis I'm sorry for my late reply.
You can do ls command under mount point, then you can see permission made by those header about files(objects).
Those headers means and sets following:
x-amz-meta-mtime is modified time by decimal unixtime
x-amz-meta-mode is file mode by decimal
x-amz-meta-uid is uid by decimal
x-amz-meta-gid is gid by decimal
You can see man page for mount command.
To solve this issue problem, you should use umask and mp_umask option for s3fs.
You can see man page for s3fs about these options.
Thanks in advance for your assistance.
(I'm closing this issue, but if you have more question, please reopsn this issue.)