Issue 192 in s3fs: changing permission in s3fs

140 views
Skip to first unread message

s3...@googlecode.com

unread,
May 27, 2011, 5:00:55 AM5/27/11
to s3fs-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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 $
...


s3...@googlecode.com

unread,
May 28, 2011, 7:52:49 AM5/28/11
to s3fs-...@googlegroups.com

Comment #1 on issue 192 by shridhar...@gmail.com: changing permission in
s3fs
http://code.google.com/p/s3fs/issues/detail?id=192

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

s3...@googlecode.com

unread,
May 29, 2011, 10:48:40 AM5/29/11
to s3fs-...@googlegroups.com

Comment #2 on issue 192 by moore...@suncup.net: changing permission in s3fs
http://code.google.com/p/s3fs/issues/detail?id=192

allow_other option?

s3...@googlecode.com

unread,
May 29, 2011, 11:08:44 AM5/29/11
to s3fs-...@googlegroups.com

Comment #3 on issue 192 by shridhar...@gmail.com: changing permission in
s3fs
http://code.google.com/p/s3fs/issues/detail?id=192

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

s3...@googlecode.com

unread,
May 29, 2011, 3:24:25 PM5/29/11
to s3fs-...@googlegroups.com
Updates:
Status: Duplicate
Mergedinto: 20

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.

s3...@googlecode.com

unread,
Oct 31, 2014, 11:10:21 AM10/31/14
to s3fs-...@googlegroups.com

Comment #5 on issue 192 by brentcol...@pcntv.com: changing permission in
s3fs
https://code.google.com/p/s3fs/issues/detail?id=192

I'm encountering this same issue - you can chown the files under the
mounted directory, but not the directory itself:

chown: changing ownership of ‘mydir’: Input/output error

In for updates.

--
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

s3...@googlecode.com

unread,
Nov 2, 2014, 11:22:15 AM11/2/14
to s3fs-...@googlegroups.com

Comment #6 on issue 192 by ggta...@gmail.com: changing permission in s3fs
https://code.google.com/p/s3fs/issues/detail?id=192

Hi,

Which version of s3fs do you use?
Now we moved s3fs project to on Github (https://github.com/s3fs-fuse).

Please use latest version or master branch, and If you get same issue,
please post new issue on Github.

Thanks in advance for your help.

s3...@googlecode.com

unread,
Nov 20, 2014, 10:40:37 AM11/20/14
to s3fs-...@googlegroups.com

Comment #7 on issue 192 by Peter.AI...@gmail.com: changing permission in
s3fs
https://code.google.com/p/s3fs/issues/detail?id=192

I have this same issue under version -
s3fs --version
Amazon Simple Storage Service File System 1.74

s3...@googlecode.com

unread,
Feb 7, 2015, 10:03:58 AM2/7/15
to s3fs-...@googlegroups.com
Updates:
Status: Done
Mergedinto:

Comment #8 on issue 192 by ggta...@gmail.com: changing permission in s3fs
https://code.google.com/p/s3fs/issues/detail?id=192

Hi, all
(Sorry for replying late)

We moved s3fs project to on Github(https://github.com/s3fs-fuse/s3fs-fuse).
Now latest version is 1.78 and master branch is newer then it.

If you have this issue yet, please try to check latest version or master
branch.
And please post new issue on Github.

I'm sorry for that I'm going to close this issue.
Please see s3fs-fuse on Github.
Reply all
Reply to author
Forward
0 new messages