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

Check permissions before rewrite #966

Closed
vlaborie opened this issue Mar 13, 2024 · 0 comments
Closed

Check permissions before rewrite #966

vlaborie opened this issue Mar 13, 2024 · 0 comments

Comments

@vlaborie
Copy link

Hello,

I try to run Warpgate in Kubernetes, my warpgate.yml is a Kubernetes ConfigMap mounted as a read-only volume.

My warpgate.yml is mounted with '0600' unix right but i have this error on start:

13.03.2024 08:35:27  INFO warpgate::commands::run: Warpgate version=0.9.1
13.03.2024 08:35:27 ERROR warpgate: Fatal error error=Could not secure config

Caused by:
    Read-only file system (os error 30)

Could you add a permissions check before trying to rewrite permissions and not rewrite perms every time if it is not needed ?

Thank's.

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

1 participant