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

passwd folder is created with root user instead of docker #145

Open
changuelsami opened this issue Aug 27, 2020 · 2 comments
Open

passwd folder is created with root user instead of docker #145

changuelsami opened this issue Aug 27, 2020 · 2 comments
Labels

Comments

@changuelsami
Copy link

Hi,

volumes:
- "/folder_on_disk/passwd:/etc/pure-ftpd/passwd"

The folder_on_disk folder is created with root user, so if I try de build again I have permission issues !
How can I fix this ?

Thanks :)

@stilliard
Copy link
Owner

Hi @changuelsami
If you create the folder in advance I think you'll be able to set your own permissions on it. Or now it's created can you change it's permissions?

Hope this helps.

@MichaelLeeHobbs
Copy link

Inside the container pureftp is ran as root which is why this happens. It's not a big deal. It not really the "root" user it's the root user inside the container. Would likely be a fair amount of work to fix. I have not dove to deep into the dockerfile / run script so not sure. As to permission issues you are having would need to know more about how you are running it ie docker vs docker-compose and are the permission issue you access the file or pureftp accessing the file inside the container? I have no issues with a compose setup.

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

No branches or pull requests

3 participants