Bug #3389 ยป test-W.patch
| file.c | ||
|---|---|---|
|  *    "u"  | boolean | True if file1 has the setuid bit set | ||
|  *    "w"  | boolean | True if file1 exists and is writable by | ||
|  *         |         | the effective uid/gid | ||
|  *    "W"  | boolean | True if file1 exists and is writable by | ||
|  *         |         | the real uid/gid | ||
|  *    "W"  | int/nil | If file1 exists and is writable by | ||
|  *         |         | the real uid/gid, return its permission bits; | ||
|  *         |         | otherwise return nil | ||
|  *    "x"  | boolean | True if file1 exists and is executable by | ||
|  *         |         | the effective uid/gid | ||
|  *    "X"  | boolean | True if file1 exists and is executable by | ||