Status: New
Owner: ----
Labels: Type-Support Priority-Medium
New issue 408 by
dgki...@gmail.com: Getting chroot to work over an s3 mount
point
http://code.google.com/p/s3fs/issues/detail?id=408
Detailed description of support request:
So, my use case is that I have multiple users that I want to be able to
sftp into a chrooted home on s3 and push files in.
The issue I'm having is that I have to mount the s3fs filesystem as root,
and using the 'allow_others' option, the mnt point changes to 777. Since I
cant change the mount point permissions after its mounted, sshd is kicking
out any logins to the chrooted home directory because of the permission on
/mnt/s3
sshd[11128]: fatal: bad ownership or modes for chroot directory
component "/mnt/s3/"
For it to work, I need that mount point to be 755 at a minimum, or I need
to be able to mount the directory and map it to another mount directory,
similiar such as
mount --bind /srv/web/
example.com /home/user/web
Has anyone run into an issue similar to this before, and is there a
solution I'm overlooking?
Thanks!
===================================================================
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.74
Version of fuse being used (pkg-config --modversion fuse): 2.9.3
System information (uname -a): 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3
21:39:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Distro (cat /etc/issue): CentOS
s3fs command line used (if applicable): s3fs <bucket> /mnt/s3
-ouse_cache=/cache/s3 -ouse_see=1 -o allow_other
/etc/fstab entry (if applicable):
s3fs syslog messages (grep s3fs /var/log/syslog):
sshd[11128]: fatal: bad ownership or modes for chroot directory
component "/mnt/s3/"
--
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