New issue 192 by shridhar...@gmail.com: changing permission in s3fs
http://code.google.com/p/s3fs/issues/detail?id=192
Detailed description of observed behavior:
I want to mount the AWS s3 bucket as a normal partition and accessible by
user XXX.I am able to mount the s3 bucket but the owner ship of that
partition remains as root:root.
When I change the ownership manually to XXX user then it gives me an error
saying
"chown: changing ownership of `/mnt/hd': Input/output error"
I also tried putting an entry in the fstab as
s3fs#backup104 /mnt/hd fuse suid,exec,dev,user,uid=1003,gid=100 0 0
where uid=1003 is that of user XXX but this also doesn't seem to work.
Please advise if there is something that i am not doing correctly.
Thanks,
What steps will reproduce the problem - please be very specific and
detailed. (if the developers cannot reproduce the issue, then it is
unlikely a fix will be found)?
Put the below entry in /etc/fstab
s3fs#backup104 /mnt/hd fuse suid,exec,dev,user,uid=1003,gid=100 0 0
and run "mount -a -t fuse"
It mounts the bucket backup104 on /mnt/hd and also shows the permissions as
XXX user with uid=1003 on running command "ls -l /mnt/hd" as root.
But when I try to access this partition as XXX user it gives me a
permission denied error.
===================================================================
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):1.35
Version of fuse being used (pkg-config --modversion fuse):2.8.5
System information (uname -a):Linux xxx 2.6.18-xenU-ec2-v1.0 #2 SMP Tue Feb
19 10:51:53 EST 2008 ...
Distro (cat /etc/issue):Slackware 12.0.0
s3fs command line used (if applicable):
/etc/fstab entry (if applicable):
s3fs syslog messages (grep s3fs /var/log/syslog):
May 26 19:59:23 mail106 s3fs: init $Rev: 304 $
May 26 20:12:02 mail106 s3fs: init $Rev: 304 $
...
Hi,
Please somebody revert on this case. I am not able to move forward and use
S3 buckets as partition on my server until this thing is sorted out.
I do not want the mounted partition to be root:root rather I want it as XXX
user.
Thanks,
Shridhar
allow_other option?
I tried that option too. But the options there are too open i.e *any* user
can read,write, change permissions etc when using allow_other..
Thats certainly not what I want.
Thanking you for reverting back.
Shridhar Shetty
Comment #4 on issue 192 by moore...@suncup.net: changing permission in s3fs
http://code.google.com/p/s3fs/issues/detail?id=192
Permissions and ownership not being handled correctly are both known issues.