add sample cfg for vnc driver, indent

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1006 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
michux
2009-03-26 13:07:17 +00:00
parent 89efe11945
commit baa22cf17a
3 changed files with 16 additions and 6 deletions

4
cfg.c
View File

@@ -485,12 +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 ! 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
#endif
return error;
}