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

Change folders owned by root to current user #26

Closed
kilrau opened this issue Jun 10, 2019 · 5 comments
Closed

Change folders owned by root to current user #26

kilrau opened this issue Jun 10, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request P3 low priority

Comments

@kilrau
Copy link
Contributor

kilrau commented Jun 10, 2019

Why is everything in ~/.xud-docker/testnet/data owned by root? Current user should be sufficient.

@kilrau kilrau added this to the post-1.0.0 milestone Jun 10, 2019
@reliveyy
Copy link
Collaborator

Related to docker/compose#3270

@kilrau
Copy link
Contributor Author

kilrau commented Jun 10, 2019

Ok, let's keep an eye on it. post-1.0.0 anyways.

@kilrau
Copy link
Contributor Author

kilrau commented Jun 11, 2019

FYI: I just chowned everything in ~/.xud-docker/ to my current user and things are still working, so this must be possible.

@kilrau kilrau removed this from the post-1.0.0 milestone Jun 11, 2019
@kilrau kilrau added the enhancement New feature or request label Jul 11, 2019
@kilrau kilrau changed the title Folder owned by root - why? Change folders owned by root to current user Jul 18, 2019
@kilrau kilrau added the P3 low priority label Oct 8, 2019
@kilrau
Copy link
Contributor Author

kilrau commented Jan 14, 2020

UX problem: config files are owned by root and need root privileges to be modified

Why are folders owned by root: folders are created by docker, which defaults the folder owner to root. A script chowning folders to current user would need to be run with root privileges and is kinda hacky.

Is there any way, that docker can create these folders with owner current user? @reliveyy

@kilrau
Copy link
Contributor Author

kilrau commented Jan 14, 2020

Duplicate of #249.

@kilrau kilrau closed this as completed Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 low priority
Projects
None yet
Development

No branches or pull requests

2 participants