Issue 301 in s3fs: Mount seems to work but no files in folder, no log entries and cannot write to mount

1,900 views
Skip to first unread message

s3...@googlecode.com

unread,
Oct 19, 2012, 7:22:56 AM10/19/12
to s3fs-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 301 by pauldale...@gmail.com: Mount seems to work but no files in
folder, no log entries and cannot write to mount
http://code.google.com/p/s3fs/issues/detail?id=301

Detailed description of observed behavior:

Sudo su

Set up s3fs follow a number of instructions but these were the latest
http://code.google.com/p/s3fs/wiki/FuseOverAmazon

Set up /etc/passwd-s3fs using AccessKey:SecretKey using IAM with complete
access to S3

Uncommented “user_allow_other” from /etc/fuse.conf

Create folder /mnt/s3

Run command /usr/bin/s3fs -ohost=http://s3-website-eu-west-1.amazonaws.com/
-oallow_other -ouse_cache=/tmp <bucket> /mnt/s3 (replacing <bucket> with my
bucket name)

Get no errors.

Go to folder /mnt/s3 and dir: it's empty, although the bucket has a txt
file in it as a tester.

Try to create new file in mount folder and get "cannot open file for
writing" when trying to save.

Have tried a variety of different instructions from different blogs
detailing how to set up, but result is always the same: mount folder is
empty and I can't create files to it.



===================================================================
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): Amazon Simple Storage Service
File System 1.61

Version of fuse being used (pkg-config --modversion fuse): 2.8.6

System information (uname -a): Linux ip-10-118-99-204 3.2.0-25-virtual
#40-Ubuntu SMP Wed May 23 22:20:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Distro (cat /etc/issue): Ubuntu 12.04.1 LTS \n \l

s3fs command line used (if applicable): /usr/bin/s3fs
-ohost=http://s3-website-eu-west-1.amazonaws.com/ -oallow_other
-ouse_cache=/tmp <bucket> /mnt/s3 (replacing <bucket> with my bucket name)

/etc/fstab entry (if applicable): Not used

s3fs syslog messages (grep s3fs /var/log/syslog): Oct 19 11:17:00
ip-10-118-99-204 s3fs: init $Rev: 382 $
Oct 19 11:26:35 ip-10-118-99-204 s3fs: init $Rev: 382 $
Oct 19 12:01:13 ip-10-118-99-204 s3fs: init $Rev: 382 $
Oct 19 12:08:44 ip-10-118-99-204 s3fs: init $Rev: 382 $



s3...@googlecode.com

unread,
Oct 19, 2012, 7:34:28 AM10/19/12
to s3fs-...@googlegroups.com

Comment #1 on issue 301 by pauldale...@gmail.com: Mount seems to work but
no files in folder, no log entries and cannot write to mount
http://code.google.com/p/s3fs/issues/detail?id=301

Sorry - didn't notice this was tagged as a defect: I'm fairly certain the
defect is me.

s3...@googlecode.com

unread,
Oct 23, 2012, 5:23:51 AM10/23/12
to s3fs-...@googlegroups.com

Comment #2 on issue 301 by pauldale...@gmail.com: Mount seems to work but
no files in folder, no log entries and cannot write to mount
http://code.google.com/p/s3fs/issues/detail?id=301

Looks like it might be a combination of things: I'd set up a global
password file in /etc which allowed the bucket to mount, but when I tried
to access the bucket s3fs wasn't using the passwd-s3fs to grant access to
it. Giving an individual .passwd-s3fs in ~/ allows access, but it still
seems to be getting confused by the bucket living in Europe rather than the
default US. If I try to mount using the ~/.passwd to Europe it says the
credentials don't match, but if I create a standard bucket in the US I can
mount and connect with no problem.

s3...@googlecode.com

unread,
Oct 24, 2012, 7:53:47 AM10/24/12
to s3fs-...@googlegroups.com

Comment #3 on issue 301 by pauldale...@gmail.com: Mount seems to work but
no files in folder, no log entries and cannot write to mount
http://code.google.com/p/s3fs/issues/detail?id=301

And we have it. User error: the folder system had been rsynced in from
another computer and I hadn't changed the ownership: everything was owned
by a user that didn't exist on the server, so the only way to create files
or folders was to sudo. Can't see how to close an issue, but this is
resolved.

s3...@googlecode.com

unread,
May 10, 2013, 4:02:46 AM5/10/13
to s3fs-...@googlegroups.com

Comment #4 on issue 301 by z1.cere...@gmail.com: Mount seems to work but no
files in folder, no log entries and cannot write to mount
http://code.google.com/p/s3fs/issues/detail?id=301

Same here, followed instructions from here:
https://code.google.com/p/s3fs/wiki/FuseOverAmazon, here:
http://mustalikachwala.blogspot.com/2012/08/installing-s3fs-on-ubuntu-zentraal.html
and here:
https://syslog.tv/2012/03/03/mount-amazon-s3-bucket-locally/ ...mounting my
S3 bucket on /mnt works and can I can read/write/execute as root, but as a
normal user read/write/execute wasn't able at all...I wanted to it as my
/var/www folder for all of my apache web application using
symbolink...PLEASE HELP!!!

--
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,
May 30, 2013, 4:31:20 AM5/30/13
to s3fs-...@googlegroups.com

Comment #5 on issue 301 by ggta...@gmail.com: Mount seems to work but no
files in folder, no log entries and cannot write to mount
http://code.google.com/p/s3fs/issues/detail?id=301

Hi

(This issue is old, I'm sorry for replying too late)

For this issue, please use allow_other option, and connect to correct
server(your bucket in region).
And please try to use latest version(now v1.69).

If you have a trouble yet, please let me know.
(I'll close this issue, if I don't get your reply.)

Thanks in advance for your help.

s3...@googlecode.com

unread,
Aug 29, 2013, 5:11:00 AM8/29/13
to s3fs-...@googlegroups.com
Updates:
Status: Done

Comment #6 on issue 301 by ggta...@gmail.com: Mount seems to work but no
files in folder, no log entries and cannot write to mount
http://code.google.com/p/s3fs/issues/detail?id=301

Hi,

Were you able to solve this problem?
I will close this issue because there is not your reply for a while.

Because some bugs are fixed in the latest version, please use the latest
version.
And please post new issue again if your problem does not seem to be fixed
yet.
Reply all
Reply to author
Forward
0 new messages