diff options
author | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-26 08:20:28 +0000 |
---|---|---|
committer | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-03-26 08:20:28 +0000 |
commit | 27c5e0c61337827ab84a8dd533145a94d251b985 (patch) | |
tree | 04fc7bbec7a91340a0c632487c57721ed193adcf | |
parent | 83e9869a64765a235290b3ebf6b42535e4d64581 (diff) | |
download | lcd4linux-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |