You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Linux systems, file permissions are typically represented using 3 digits, but in some cases they can be represented with 6 digits. For example, when injecting secrets as file in a Kubernetes, permissions are represented using 6 digits.
When secret are mounted as file in kubernetes, 6-digit mode are used (e.g., 100600 instead of 0600).
As a result, attempts to change permissions but fails.
Check file permission in kubernetes
Tested in Python; returns the same result in Rust
>>> import os
>>> print(oct(os.stat('/etc/warpgate.yaml').st_mode))
0o100600
warpgate error message
Test Environment
AWS EKS v1.30.9 / AmazonLinux2023
The text was updated successfully, but these errors were encountered:
hashfunc
added a commit
to hashfunc/warpgate
that referenced
this issue
Feb 20, 2025
Description
In Linux systems, file permissions are typically represented using 3 digits, but in some cases they can be represented with 6 digits. For example, when injecting secrets as file in a Kubernetes, permissions are represented using 6 digits.
When secret are mounted as file in kubernetes, 6-digit mode are used (e.g., 100600 instead of 0600).
As a result, attempts to change permissions but fails.
Check file permission in kubernetes
Tested in Python; returns the same result in Rust
warpgate error message

Test Environment
AWS EKS v1.30.9 / AmazonLinux2023
The text was updated successfully, but these errors were encountered: