mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
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:
4
cfg.c
4
cfg.c
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user