Skip to content
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

Allow custom user for executing commands #764

Closed
wants to merge 1 commit into from

Conversation

RoyGoorhuis
Copy link

Changes:
I've made the user in bin/sail configurable by setting the APP_USER variable in your project's .env file. This allows you to set a different user as the one executing the sail commands. I set the default user to be sail so that it won't break existing set-ups.

Context:
Currently, sail commands are always executed using the sail user. However, I work with an existing Dockerfile setup which uses a different user and uses this user as the owner of the files in the container. This causes the sail commands to fail frequently due to permission errors.

@taylorotwell
Copy link
Member

I don't have any further plans to customize the Sail user system. Feel free to fork or copy these files and edit them to suit your needs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants