MySQL 8.4.2
Source Code Documentation
|
Functions | |
int | is_file_or_dir_world_writable (const char *path) |
Check if a file/dir is world-writable (only on non-Windows platforms) More... | |
int is_file_or_dir_world_writable | ( | const char * | path | ) |
Check if a file/dir is world-writable (only on non-Windows platforms)
[in] | path | Path of the file/dir to be checked |
-2 | Permission denied to check attributes of file/dir |
-1 | Error in reading file/dir |
0 | File/dir is not world-writable |
1 | File/dir is world-writable |