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

Log would fail it I put coscli to system path #24

Open
ma-joel opened this issue Oct 19, 2022 · 1 comment
Open

Log would fail it I put coscli to system path #24

ma-joel opened this issue Oct 19, 2022 · 1 comment

Comments

@ma-joel
Copy link

ma-joel commented Oct 19, 2022

For instance if i copy coscli to /usr/local/bin/coscli and run by calling coscli, the log would fail as no permissions. output is like

Failed to write to log, failed to acquite target io.Writer: failed to open file &{/usr/local/bin/coscli.log [%!s(*strftime.verbatimw=&{/usr/local/bin/coscli.log})]}: open /usr/local/bin/coscli.log: permission denied
@lewzylu
Copy link
Contributor

lewzylu commented Jan 10, 2023

Maybe you need to use the root account or adjust the permissions of the current user

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