you only set it to 777 because you could not make it work any other way.
the installer is never pleased or displeased. it just is. it's code. it has no feelings. neither does chatGPT.
i would do a google search on hardening a debian 11 install. giving security recommendations on 1 small subset is not my game.
better yet, i would have a conversation with chatGPT about debian hardening. i am sure the chatBot would make very useful recommendations. soon it will replace all system admins.
best.
Bookmarks