From 27c5e0c61337827ab84a8dd533145a94d251b985 Mon Sep 17 00:00:00 2001 From: michux Date: Thu, 26 Mar 2009 08:20:28 +0000 Subject: ignore security check for cygwin git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1004 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- cfg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cfg.c') 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; } -- cgit v1.2.3