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

Getting permission denied when I try to change any files in the src folder #258

Closed
nanotexnolagiya opened this issue Apr 26, 2024 · 4 comments

Comments

@nanotexnolagiya
Copy link

Initialized project with

make create-project

After that if I try change any files I'm getting error that I don't have a permission to change file
Docker version 26.0.0
OS: Ubuntu 22.04

@nanotexnolagiya
Copy link
Author

As I see composer creating files with root user.

@ucan-lab
Copy link
Owner

Will using Rootless mode solve the problem?

https://docs.docker.com/engine/security/rootless

@ucan-lab
Copy link
Owner

ucan-lab commented May 3, 2024

@nanotexnolagiya
I created a general user inside the container so that I could map the UID and GID of the Linux user on the host side.
Please try it.

@ucan-lab ucan-lab closed this as completed May 3, 2024
@nanotexnolagiya
Copy link
Author

@nanotexnolagiya I created a general user inside the container so that I could map the UID and GID of the Linux user on the host side. Please try it.

This really helped, thanks!

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

No branches or pull requests

2 participants