Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 446 by
amitbis...@gmail.com: Apache (13)Permission denied issue -
403
https://code.google.com/p/s3fs/issues/detail?id=446
Hi Guys,
I'm aware that it's a known issue and I've read about 10 issues and still
not able to fix this after 2 days of working on it.
0. configurations:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "*"
}
]
}
chmod 600 ~/.passwd-s3fs
/etc/fstab:
s3fs#xxxx /s3 fuse netdev,default_acl=public
read,use_cache=/tmp/cache,use_rrs=1,allow_other 0 0
1.Mount works OK:
s3fs -o use_cache=/tmp/cache -o allow_other,uid=33,gid=33 -o
default_acl="public-read" setsdrive /s3
fuse: warning: library too old, some operations may not not work
note- tried others way to mount also (command is mention later)
2. r/w files works fine
mkdir /s3/test
ll
total 0
drwxrwxrwx. 1 33 tape 0 Dec 8 14:58 server
drwxrwxr-x. 1 33 tape 0 Dec 10 18:50 test
3. apache configurations:
#mySer server alias
Alias /pic/ "/s3/server/pics/"
#Alias /pic/ "/tmp/cache/xxx/server/pics/"
<Directory "/usr/server/pics">
Options FollowSymLinks
AllowOverride None
</Directory>
4. The Issue:
when trying to get any file from that folder "pics", I get 403
(13)Permission denied: access to /pic/pic256.jpg denied
all files has 777/755 permissions but I still get http 403 over "/s3"
tried working with the cache folder and got the same results
tried changing the root folders permissions to 777
Version of s3fs being used (s3fs 1.74):
Version of fuse being used (2.8.3):
System information (Linux xxxx.eu-west-1.compute.internal
2.6.32-358.14.1.el6.x86_64 #1 SMP Mon Jun 17 15:54:20 EDT 2013 x86_64
x86_64 x86_64 GNU/Linux):
Distro (cat /etc/issue):
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Kernel \r on an \m
s3fs command line used (if applicable):
tried all 3:
1. s3fs -o use_cache=/tmp/cache -o allow_other -o default_acl="public-read"
xxx /s3
2. s3fs -o use_cache=/tmp/cache -o allow_other,uid=33,gid=33 -o
default_acl="public-read" xxx /s3
3. s3fs -o
default_acl=public-read,use_cache=/tmp/cache,use_rrs=1,allow_other xxx /s3
/etc/fstab entry (if applicable):
s3fs syslog messages (grep s3fs /var/log/syslog):
not exist
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings