aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-26 08:20:28 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-03-26 08:20:28 +0000
commit27c5e0c61337827ab84a8dd533145a94d251b985 (patch)
tree04fc7bbec7a91340a0c632487c57721ed193adcf
parent83e9869a64765a235290b3ebf6b42535e4d64581 (diff)
downloadlcd4linux-27c5e0c61337827ab84a8dd533145a94d251b985.tar.gz
ignore security check for cygwin
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1004 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cfg.c b/cfg.c
index 85da6ce..6843bd6 100644
--- a/cfg.c
+++ b/cfg.c
@@ -485,10 +485,12 @@ static int cfg_check_source(const char *file)
error("security error: owner and/or group of '%s' don't match", file);
error = -1;
}
+#if ! defined(__CYGWIN__)
if (stbuf.st_mode & S_IRWXG || stbuf.st_mode & S_IRWXO) {
error("security error: group or other have access to '%s'", file);
error = -1;
}
+#endif
return error;
}