projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7be09f9
)
* When aborting because of unsafe permissions on citadel.config, only show the last...
author
Art Cancro
<ajc@citadel.org>
Fri, 20 Mar 2009 16:36:12 +0000
(16:36 +0000)
committer
Art Cancro
<ajc@citadel.org>
Fri, 20 Mar 2009 16:36:12 +0000
(16:36 +0000)
citadel/config.c
patch
|
blob
|
history
diff --git
a/citadel/config.c
b/citadel/config.c
index 830627043ded7b399fe8e6a87331cd2ca0ada482..30989674216419f9199770a92828db18bfacf3a8 100644
(file)
--- a/
citadel/config.c
+++ b/
citadel/config.c
@@
-63,7
+63,7
@@
void get_config(void) {
int desired_mode = (S_IFREG | S_IRUSR | S_IWUSR) ;
if (st.st_mode != desired_mode) {
fprintf(stderr, "%s must be set to permissions mode %03o but they are %03o\n",
- file_citadel_config,
desired_mode, st.st_mode
);
+ file_citadel_config,
(desired_mode & 0xFFF), (st.st_mode & 0xFFF)
);
exit(CTDLEXIT_CONFIG);
}
#endif