Comments (7)
Hmm..
Is PHP-FPM running as www-data
?
Do you see the files when you ls /var/www
?
Anything interesting in the Apache logs?
You can also try running bindfs with -d
to get (lots of) debug output.
from bindfs.
- Is
user_allow_other
enabled in/etc/fuse.conf
? - Which version of bindfs are you using? Versions 1.13.1-1.13.3 have an unfortunate bug in them that could cause this.
- What does your bindfs command look like?
from bindfs.
Hi @mpartel ,
Thanks for your response. I am using bindfs version 1.12.3 and currently my user_allow_other
is commented. Could that be the reason? My bindfs command is this sudo bindfs -o perms=0750,mirror-only=www-data,force-group=www-data,force-user=www-data /home/vagrant/www /var/www
from bindfs.
Yes, you need user_allow_other
uncommented unless PHP-FPM runs as the
same user as bindfs.
On 9 Nov 2016 7:35 am, "Cliff Richard Anfone" [email protected]
wrote:
Hi @mpartel https://github.com/mpartel ,
Thanks for your response. I am using bindfs version 1.12.3 and currently my
user_allow_other is commented. Could that be the reason? My bindfs command
is this sudo bindfs -o
perms=0750,mirror-only=www-data,force-group=www-data,force-user=www-data
/home/vagrant/www /var/www
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#44 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAUE-ISAh7j4OiRGaPquv8tB1M9r3gEtks5q8XeygaJpZM4KsFBG
.
from bindfs.
Hi @mpartel ,
I already uncommented the user_allow_other
in my /etc/fuse.conf
but my virtualhost is still returning File not found. What could be the other possible reason to this?
from bindfs.
This is what I'll see if I run this command.
$ ps aux | grep php-fpm
104:root 1073 0.0 3.0 318612 31240 ? Ss 08:18 0:00 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
110:www-user 1149 0.0 1.0 319072 11176 ? S 08:18 0:00 php-fpm: pool www
111:www-user 1150 0.0 1.0 319072 11176 ? S 08:18 0:00 php-fpm: pool www
142:vagrant 16429 0.0 0.2 14120 2336 pts/0 R+ 08:30 0:00 grep --color=auto -in php-fpm
I can also see my files if I run sudo ls /var/www
so I'm not sure what did I miss.
from bindfs.
Hi @mpartel,
Thank you so much for your help. I manage to successfully run php-fpm + bindfs in my virtual machine. I just made sure that user who is running php-fpm and apache are the one I set in my bindfs command. My apache is run by www-user
so I change my command to sudo bindfs -o perms=0755,mirror-only=www-user,force-group=www-data,force-user=www-user /home/vagrant/www /var/www
and made sure that apache is also run by www-user
.
Once again thanks for your help.
from bindfs.
Related Issues (20)
- Failed to resolve mount point on MacOS / Ventura HOT 3
- [Question/Bug maybe?] preserve/mirror file's selinux context HOT 2
- bindfs file descriptor leak with --block-devices-as-files HOT 2
- Behavior Question: Why does BindFS exhibit permission issues when bind mounted into a container? HOT 2
- Mount directory as a non-root user from /etc/fstab HOT 3
- no package Bindfs available HOT 3
- Support for 64bit statfs on macOS HOT 1
- Race condition between `bindfs` exit and filesystem actually being mounted HOT 5
- Unable to listen to unix domain socket inside bindfs mount on macOS HOT 8
- Test suite fails with fuse-t HOT 1
- ACLs on MacOS HOT 3
- configure: error: FUSE not found on Mac 13.5.1 HOT 5
- homebrew: Unsatisfied requirements failed this build. HOT 2
- macos: Provide Launch Agent to mount bindfs on system startup HOT 4
- Support for negative offset (?) HOT 3
- [1.17.5] Commit 38cd6e7e13ce966dc8e196eb3037935682e613a6 introduced undefined behavior? HOT 3
- Contributing simple Linux CI based on GitHub Actions via pull request welcome? HOT 17
- 1.17.6 no longer compiles on CentOS 7 HOT 1
- Memory allocation failures not checked
- Don't know how to build a static `bindfs` executable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bindfs.