-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Ownership of .composer directory #562
Comments
The following issue report details that .composer should not be owned by root, The problem I am seeing is that when deploying to a Linux environment that is the ownership that is set as the one-liner script runs and creates the directory. Below is a ls -la from my ~ directory. This shows everything being correctly flagged as owned by my account, apart from .composer which somehow is being flagged as root. roger@docker:~$ ls -la |
Update Changing ownership of .composer from another shell while the install is waiting for the Magento keys to be entered allows the install to proceed without throwing up access errors. |
Update The issue seems to be with the setup related to the docker-compose.yml file. Docker is running as root and so when docker-compose requests the app service to be created, the 3 volumes listed with paths (~/.composer, ~/.ssh, ~/.ssh/known_hosts:) are created by docker as they do not already exist and docker creates them with its account details. I've run out of time tonight, but my guess is that this can be resolved by having the install script create these directories, before docker-config is called. |
Ah thanks, I never thought of these not existing. I added this to |
Description
Deployment to Ubuntu 20.04 server and Ubuntu 21.10 Desktop
Steps To Reproduce
1.
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: