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

.pem files with full permissions being created every time it starts #20121

Open
alexbraga opened this issue Dec 16, 2024 · 0 comments
Open

.pem files with full permissions being created every time it starts #20121

alexbraga opened this issue Dec 16, 2024 · 0 comments

Comments

@alexbraga
Copy link

What Happened?

As the title says, Minikube is generating new .pem files with full permissions in the root directory every time it starts, despite the existence of the .pem files in the certs/ directory:

alex@archlinux:~/.minikube$ ls -l
total 64K
drwxr-xr-x 2 alex alex 4.0K Sep 25 02:28 addons
drwxr-xr-x 2 alex alex 4.0K Sep 25 02:43 bin
drwxr-xr-x 4 alex alex 4.0K Sep 25 02:43 cache
drwxr-xr-x 2 alex alex 4.0K Sep 25 02:43 certs
drwxr-xr-x 2 alex alex 4.0K Sep 25 02:42 config
drwxr-xr-x 2 alex alex 4.0K Sep 25 02:28 files
drwxr-xr-x 2 alex alex 4.0K Sep 25 02:43 logs
drwxr-xr-x 3 alex alex 4.0K Sep 25 02:44 machines
drwxr-xr-x 3 alex alex 4.0K Sep 25 02:43 profiles
-rw-r--r-- 1 alex alex 1.1K Sep 25 02:44 ca.crt
-rw------- 1 alex alex 1.7K Sep 25 02:44 ca.key
-rwxrwxrwx 1 alex alex 1.1K Dec 16 15:57 ca.pem
-rwxrwxrwx 1 alex alex 1.1K Dec 16 15:57 cert.pem
-rwxrwxrwx 1 alex alex 1.7K Dec 16 15:57 key.pem
-rw-r--r-- 1 alex alex 1.1K Sep 25 02:44 proxy-client-ca.crt
-rw------- 1 alex alex 1.7K Sep 25 02:44 proxy-client-ca.key

For what is seems by the logs, it's copying the files from the certs/ folder but, somehow, it's not keeping the permissions (which are correctly set over there):

alex@archlinux:~/.minikube$ ls -l certs/
total 16K
-rw------- 1 alex alex 1.7K Sep 25 02:43 ca-key.pem
-rw-r--r-- 1 alex alex 1.1K Sep 25 02:43 ca.pem
-rw-r--r-- 1 alex alex 1.1K Sep 25 02:43 cert.pem
-rw------- 1 alex alex 1.7K Sep 25 02:43 key.pem

Attach the log file

log.txt

Operating System

Other

Driver

KVM2

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