Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Make optional sudo chown at end of dktl.sh #10

Closed
dafeder opened this issue Jun 13, 2018 · 0 comments
Closed

Make optional sudo chown at end of dktl.sh #10

dafeder opened this issue Jun 13, 2018 · 0 comments
Assignees
Milestone

Comments

@dafeder
Copy link
Member

dafeder commented Jun 13, 2018

#9 introduces a chown command at the end of every run of the bash script that changes ownership of any root files to the current user. This addresses the common problem in docker that files created by the cli container appear to be owned by "root" to the host machine.

The solution needs to be environment-specific, as one would want to use the chown command in their local environment but not in the CI.

Acceptance criteria

  • An environment variable DKTL_CHOWN is checked before running the chown command. If set to FALSE it will not run.
  • The environment variable is documented.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants