root@casual-condor:/var/lib/nova# ll .ssh/
total 28
drwxr-xr-x  2 nova root 4096 Aug  3 10:43 ./
drwxr-xr-x 10 nova nova 4096 Aug  3 10:25 ../
-rw-r--r--  1 root root 1197 Aug  3 10:54 authorized_keys
-rw-------  1 nova root 1823 Aug  3 10:25 id_rsa
-rw-r--r--  1 nova root  400 Aug  3 10:25 id_rsa.pub
-rw-r--r--  1 root root 5526 Aug  3 10:54 known_hosts

^^^ 600 to id_rsa

root@casual-condor:/var/lib/nova# find /var/lib/nova -type f -exec chmod
0644 "{}" + -o -type d -exec chmod 0755 "{}" +

root@casual-condor:/var/lib/nova# ll .ssh/
total 28
drwxr-xr-x  2 nova root 4096 Aug  3 10:43 ./
drwxr-xr-x 10 nova nova 4096 Aug  3 10:25 ../
-rw-r--r--  1 root root 1197 Aug  3 10:54 authorized_keys
-rw-r--r--  1 nova root 1823 Aug  3 10:25 id_rsa
-rw-r--r--  1 nova root  400 Aug  3 10:25 id_rsa.pub
-rw-r--r--  1 root root 5526 Aug  3 10:54 known_hosts

^^^ 644 to id_rsa

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1904580

Title:
  Permissions 0644 for '/var/lib/nova/.ssh/id_rsa' are too open

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nova-compute/+bug/1904580/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to