You are not logged in.
I'm trying to allow an SFTP-jailed user to upload things to a directory like httpd/ for it to be served via Apache httpd. What's a good way to do this?
Last edited by synthead (2014-04-04 05:40:22)
Offline
Figured out a pretty great solution: bindfs. It allows all kinds of very transparent permission manipulation and works perfect without any changes to my httpd.conf!
Offline
In case you guys are curious, this is what I used in my /etc/fstab:
/var/sftpjail/foo/httpd /srv/http/bar fuse.bindfs force-user=http,force-group=http,perms=du=rwx:dg=rx:do=:fu=rw:fg=r:fo=,ro 0 0
Last edited by synthead (2014-04-04 05:54:10)
Offline