angristan / angristan/wireguard-install
/etc/wireguard permissions broken on CentOS Stream 10
- Linguagem predominante
- Shell
- Estrelas
- 11.3k
- Forks
- 1.7k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
This script sets permissions to 600, and then back to 700 but only for Fedora. Therefore on CentOS 10, the permissions are set to 600, and wg-quick is not able to read the /etc/wireguard folder, and is unable to start the service. Referenced below are the lines that set tht:
if [[ ${OS} == 'fedora' ]]; then
chmod -v 700 /etc/wireguard
chmod -v 600 /etc/wireguard/*
fi
I'm not sure if the best fix is to add other OS vendors that are Red Hat based (CentOS, Alma, Rocky, RHEL) to this if statement, or if it would be best to apply this to all OS's.
I tested this on a fresh install of CentOS 10.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.