- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setfacl: ... Not supported when using Docker on OSX #75
Comments
as far as i could see there should be OSX specific commands to set the ACL's since setfacl does not exist, in OSX (unlike Linux) ACL's seem to be set using "chmod".
|
Hmm, that's not very good news. But even if a specific osx command would be a solution, the problem with the current setfacl commands would persist, as it is run from the container and not from the host. |
I think the equivalent OSX command for the user "www-data" (first line) would be something along: cant check, not using OSX anymore I mean IF this is causing problems, it should be entirely possible to set the MacOS ACL's manually (or from a script) from the terminal, or not? |
... but then again, i am always confused about user mapping from container to host, dont know how this is handled on OSX vs Linux. |
I've created a fresh project using
When running
I get the following errors:
and the php container fails to start.
I think these errors are caused by the setfacl calls on these lines in
docker/php/docker-entrypoint.sh
Simple workaround could be commenting those lines when using osx as a host, although that might lead to other issues down the road.
The text was updated successfully, but these errors were encountered: