Make auth file readable to users. (Fixes #42)

This commit is contained in:
Bandie 2018-04-06 10:16:29 +02:00
parent a65f28725d
commit 784c9a3455
Signed by: Bandie
GPG Key ID: C1E133BC65A822DD

View File

@ -31,7 +31,7 @@ int writePasswords(char pw[][99]){
fclose(f);
chmod(PPASSFILE, 0600);
chmod(PPASSFILE, 0644);
return 0;
}