Make auth file readable to users. (Fixes #42)
This commit is contained in:
parent
a65f28725d
commit
784c9a3455
@ -31,7 +31,7 @@ int writePasswords(char pw[][99]){
|
|||||||
|
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
chmod(PPASSFILE, 0600);
|
chmod(PPASSFILE, 0644);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user