As conceived on an Eclipse IDE host with a workspase working directory. Inside the site. With sshfs, this site is mounted inside an apache virtual machine. In the normal user's home directory. Tutorial for which did. The user has access to the directory, can create or delete files. But apache issues 403.

tr@hst:~/workspase$ ls -lитого 12drwxrwxrwx 1 root root 4096 Дек 4 2011 localhost_lexpro 

Neither chown, nor chmod, nor chgrp inside the directory help. www-data has also been added to the fuse group. The only way I can see is to try to mount from the user www-data, success is uncertain.

There are options?

  • It is quite possible in SELinux. - Oleksii Shapovalov

1 answer 1

Decision

 echo user_allow_other >> /etc/fuse.conf 

Mount, respectively, also with the -o allow_other parameter