mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #661] Copy file or directory to s3fs report error "cp: preserving permissions for `s3fs/xxxx': No such file or directory" #377
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#377
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 @CaesarTang on GitHub (Oct 18, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/661
Additional Information
The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Version of s3fs being used (s3fs --version)
example: 1.82
Version of fuse being used (pkg-config --modversion fuse)
example: 2.9.5
System information (uname -a)
_command result: centos 6.5
Distro (cat /etc/issue)
_command result: CentOS release 6.5 (Final) Kernel \r on an \m
s3fs command line used (if applicable)
./s3fs -o uid=500,gid=500,default_acl="",allow_other,use_path_request_style,sigv2,url=http://xxxx.com/ my_bucket /mnt/s3fs
@ggtakec commented on GitHub (Nov 5, 2017):
@CaesarTang
s3fs treats the S3 object virtually as files and directories.
Then if the S3 object does not have file permission information(x-amz-* HEADERs), it recognizes permission as 000 and operates.
For example, the S3 object uploaded using s3cmd or S3 console will be handled like this.
Even uploading via s3fs, changing file permissions. it will give these attributes to the S3 object.
However, for files that have never been manipulated, there are cases where it is better to pass default values.
In order to solve your problem, I think it is good to use the umask, mp_umask option.
Please try to use these options.
Thanks in advance for your assistance.