mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #2167] All files in S3 are zero bytes when seen in RHEL #1103
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#1103
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 @bbyrd74 on GitHub (May 23, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2167
Version of s3fs being used (
s3fs --version)Amazon Simple Storage Service File System V1.91 (commit:unknown) with OpenSSL
Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse2.9.7
Kernel information (
uname -r)4.18.0-425.19.2.el8_7.x86_64
REDHAT_SUPPORT_PRODUCT_VERSION="8.7"
How to run s3fs, if applicable
FSTAB entry:
/home/oracle/sftp fuse.s3fs rw,allow_other,nonempty,umask=0007,uid=1002,gid=1002,passwd_file=/etc/passwd-s3fs
where 1002 is the oracle user. oracle also owns /home/oracle/sftp
s3fs syslog messages (
grep s3fs /var/log/syslog,journalctl | grep s3fs, ors3fs outputs)May 23 23:50:55 DTVTOT-LINUX-A s3fs[739872]: s3fs version 1.91(unknown) : s3fs -o rw,allow_other,nonempty,umask=0007,uid=1002,gid=1002,passwd_file=/etc/passwd-s3fs,dev,suid dcs33082nprd /home/oracle/sftp
May 23 23:50:55 DTVTOT-LINUX-A s3fs[739872]: Loaded mime information from /etc/mime.types
May 23 23:50:55 DTVTOT-LINUX-A s3fs[739873]: init v1.91(commit:unknown) with OpenSSL
May 23 23:50:55 DTVTOT-LINUX-A s3fs[739873]: s3fs.cpp:s3fs_check_service(3547): Failed to connect region 'us-east-1'(default), so retry to connect region 'us-west-2'.
Details about issue
when CD'ing and LS'ing in the s3 buckets all the s3 folders seem to have usable permissions, owners, and groups. but just files themselves always show as zero bytes with 0000 as permissions
@bbyrd74 commented on GitHub (May 24, 2023):
moar detailed logs
May 24 00:05:34 -LINUX-A s3fs[740168]: [path=/]
May 24 00:05:37 -LINUX-A s3fs[740168]: [path=/2]
May 24 00:05:37 -LINUX-A s3fs[740168]: [tpath=/2]
May 24 00:05:37 -LINUX-A s3fs[740168]: [tpath=/2][bpath=][save=][sseckeypos=18446744073709551615]
May 24 00:05:37 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2
May 24 00:05:37 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2
May 24 00:05:37 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2] [] []
May 24 00:05:37 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:37 -LINUX-A s3fs[740168]: HTTP response code 404 was returned, returning ENOENT
May 24 00:05:37 -LINUX-A s3fs[740168]: [tpath=/2/]
May 24 00:05:37 -LINUX-A s3fs[740168]: [tpath=/2/][bpath=][save=][sseckeypos=18446744073709551615]
May 24 00:05:37 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/
May 24 00:05:37 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/
May 24 00:05:37 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/] [] []
May 24 00:05:37 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:37 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:37 -LINUX-A s3fs[740168]: [tpath=/2_$folder$]
May 24 00:05:37 -LINUX-A s3fs[740168]: [tpath=/2_$folder$][bpath=][save=][sseckeypos=18446744073709551615]
May 24 00:05:37 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2_%24folder%24
May 24 00:05:37 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2_%24folder%24
May 24 00:05:37 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2_$folder$] [] []
May 24 00:05:37 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:37 -LINUX-A s3fs[740168]: HTTP response code 404 was returned, returning ENOENT
May 24 00:05:37 -LINUX-A s3fs[740168]: [path=/2]
May 24 00:05:37 -LINUX-A s3fs[740168]: [tpath=/2]
May 24 00:05:37 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com/?delimiter=/&max-keys=2&prefix=2/
May 24 00:05:37 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com?delimiter=/&max-keys=2&prefix=2/
May 24 00:05:37 -LINUX-A s3fs[740168]: computing signature [GET] [/] [delimiter=/&max-keys=2&prefix=2/] []
May 24 00:05:37 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: HTTP response code 200
May 24 00:05:38 -LINUX-A s3fs[740168]: s3fs_xml.cpp:get_base_exp(110): marker_xp->nodesetval is empty.
May 24 00:05:38 -LINUX-A s3fs[740168]: add stat cache entry[path=/2/]
May 24 00:05:38 -LINUX-A s3fs[740168]: [path=/2][flags=0x18800]
May 24 00:05:38 -LINUX-A s3fs[740168]: [path=/2]
May 24 00:05:38 -LINUX-A s3fs[740168]: [path=/2]
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com/?delimiter=/&max-keys=1000&prefix=2/
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com?delimiter=/&max-keys=1000&prefix=2/
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [GET] [/] [delimiter=/&max-keys=1000&prefix=2/] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: HTTP response code 200
May 24 00:05:38 -LINUX-A s3fs[740168]: [path=/2/][list=0]
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/crystalreports.txt][bpath=crystalreports.txt][save=/2/crystalreports.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/do-NOT-delete.txt][bpath=do-NOT-delete.txt][save=/2/do-NOT-delete.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: [count=2]
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/do-NOT-delete.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/crystalreports.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/crystalreports.txt][bpath=crystalreports.txt][save=/2/crystalreports.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/do-NOT-delete.txt][bpath=do-NOT-delete.txt][save=/2/do-NOT-delete.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/do-NOT-delete.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/crystalreports.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/crystalreports.txt][bpath=crystalreports.txt][save=/2/crystalreports.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/do-NOT-delete.txt][bpath=do-NOT-delete.txt][save=/2/do-NOT-delete.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/do-NOT-delete.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/crystalreports.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/crystalreports.txt][bpath=crystalreports.txt][save=/2/crystalreports.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/do-NOT-delete.txt][bpath=do-NOT-delete.txt][save=/2/do-NOT-delete.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/do-NOT-delete.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/crystalreports.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/crystalreports.txt][bpath=crystalreports.txt][save=/2/crystalreports.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/do-NOT-delete.txt][bpath=do-NOT-delete.txt][save=/2/do-NOT-delete.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/do-NOT-delete.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/crystalreports.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/crystalreports.txt][bpath=crystalreports.txt][save=/2/crystalreports.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/do-NOT-delete.txt][bpath=do-NOT-delete.txt][save=/2/do-NOT-delete.txt][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/crystalreports.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/do-NOT-delete.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiPerform(172): thread terminated with non-zero return code: -1
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: s3fs.cpp:multi_head_retry_callback(2550): Over retry count(5) limit(/2/crystalreports.txt).
May 24 00:05:38 -LINUX-A s3fs[740168]: curl_multi.cpp:MultiRead(221): failed a request(403: https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt)
May 24 00:05:38 -LINUX-A s3fs[740168]: s3fs.cpp:readdir_multi_head(2628): error occurred in multi request(errno=-5), but continue...
May 24 00:05:38 -LINUX-A s3fs[740168]: Could not find /2/crystalreports.txt file in stat cache.
May 24 00:05:38 -LINUX-A s3fs[740168]: Could not find /2/do-NOT-delete.txt file in stat cache.
May 24 00:05:38 -LINUX-A s3fs[740168]: [path=/]
May 24 00:05:38 -LINUX-A s3fs[740168]: [path=/2/crystalreports.txt]
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/crystalreports.txt]
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/crystalreports.txt][bpath=][save=][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/crystalreports.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/crystalreports.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: add stat cache entry[path=/2/crystalreports.txt]
May 24 00:05:38 -LINUX-A s3fs[740168]: [path=/2/do-NOT-delete.txt]
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/do-NOT-delete.txt]
May 24 00:05:38 -LINUX-A s3fs[740168]: [tpath=/2/do-NOT-delete.txt][bpath=][save=][sseckeypos=18446744073709551615]
May 24 00:05:38 -LINUX-A s3fs[740168]: URL is https://s3-us-west-2.amazonaws.com//2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: URL changed is https://.s3-us-west-2.amazonaws.com/2/do-NOT-delete.txt
May 24 00:05:38 -LINUX-A s3fs[740168]: computing signature [HEAD] [/2/do-NOT-delete.txt] [] []
May 24 00:05:38 -LINUX-A s3fs[740168]: url is https://s3-us-west-2.amazonaws.com
May 24 00:05:38 -LINUX-A s3fs[740168]: curl.cpp:RequestPerform(2371): HTTP response code 403, returning EPERM. Body Text:
May 24 00:05:38 -LINUX-A s3fs[740168]: add stat cache entry[path=/2/do-NOT-delete.txt]
@ggtakec commented on GitHub (May 27, 2023):
@bbyrd74
Was the file in question and the directory containing that file created via s3fs?
(Or is it something you created with some other s3 client (AWS console, aws command, etc?)
s3fs expects an object to have file stat information in its header.
If they don't exist, you'll see file permissions as
0000, timestamps asJan 1 1970(unixtime=0), and so on.To avoid these, s3fs provides
compat_dirandcomplement_statoptions.If possible, please give these options and try again.
But in your description it looks like the file size is
zero, so maybe that's not all.Do you have permission to access those objects in S3?
@bbyrd74 commented on GitHub (May 30, 2023):
ok it was a googy permission issue - but how can I implement those 2 options you specified? I tried to add them in the fstab entry and they errored out.
@ggtakec commented on GitHub (Jun 10, 2023):
Please check the version of your s3fs.
To see if your version supports these options, check the man page or run with the -help option.
As a sample, write the fstab entry as follows:
This issue will be closed, but please reopen it if the problem persists.
Thanks in advance for your assitance.