Previous Topic: Is_O_R - Check the File for the 'Others Read' AttributeNext Topic: Is_O_X - Check the File for the 'Others Execute' Attribute


Is_O_W - Check the File for the 'Others Write' Attribute

Valid on UNIX only

The Is_O_W function checks the file for the specified attribute Others Write.

This file content function has the format:

Is_O_W(filename as String) as Boolean
filename

Identifies a file path.

This function returns TRUE if the attribute is set; otherwise, the function returns FALSE.

Example: Is_O_W function

If Is_O_W(Argv(1)) Then
	print(Argv(1) + " indicates 'O_W'.")
Else
	print(Argv(1) + " does not indicate 'O_W'.")
End If