Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

hopefully someone can advise.

I've recently mounted an s3 bucket to a directory /s3 on my ubuntu amazon ec2 instance -following: This was set up in order to store a file directory of Drupal.

The plan was to adjust the owner and group settings of the directory to start uploading files etc:

>> sudo chown -R www-data:www-data /s3
chown: changing ownership of `/s3': Input/output error

As you can see I can't change the details. Am I missing something? Could this be due to a faulty set up..

>> sudo /usr/bin/s3fs -o allow_other mybucket /s3/


share|improve this question
u resolved this issue? Can you post how. – MadNik Oct 30 '15 at 5:42
see accepted answer below \/ – williamsowen Oct 31 '15 at 7:54
up vote 1 down vote accepted

You're looking for the uid=xxx and gid=xxx options for fuse. Specify the UID and GID of your www-data user, and it the mount point will be owned by that UID and GID. I believe the command-line syntax is -o uid=xxx and so forth.

(Those are the options I specify in /etc/fstab when doing the same activity)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.