projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b79a174
)
* After replacing /etc/nsswitch.conf, set its permissions correctly. Resolves bug...
author
Art Cancro
<ajc@citadel.org>
Wed, 28 Jan 2009 17:23:02 +0000
(17:23 +0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 28 Jan 2009 17:23:02 +0000
(17:23 +0000)
citadel/setup.c
patch
|
blob
|
history
diff --git
a/citadel/setup.c
b/citadel/setup.c
index 951f4a0aaed0e674f5da3b84f93cb1afb0eb5660..05e6eacb1cad17aa975cccdf7034a16e57a6feb7 100644
(file)
--- a/
citadel/setup.c
+++ b/
citadel/setup.c
@@
-977,6
+977,7
@@
void fixnss(void) {
if (yesno(question, 1)) {
sprintf(buf, "/bin/mv -f %s %s", new_filename, NSSCONF);
system(buf);
+ chmod(NSSCONF, 0644);
}
unlink(new_filename);
}