IS_WRITABLE
Section: User Commands (1)
Updated: Feb 3, 1992
Index
Return to Main Contents
NAME
is_writable - Check for writability of a file.
SYNOPSIS
is_writable
[
-g
]
file
DESCRIPTION
is_writable
can check a file to see if a file is either writable by group or by all,
returning either 0 if it is writable, or non-zero if it is not.
is_writable
also checks the parent directories, if a complete path is
given, for writeability.
Options are:
- -g
-
Check for group writability as well as world.
BUGS
The Andrew File System, or Mach, or the combination of the two, apparently
plays games with stat(), the way I get the file info, so it can report things
as writable, when they aren't.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 23:44:35 GMT, February 06, 2023