Syntax
chmod MODE, LIST |
Definition and Usage
Changes the mode of the files specified in LIST to the MODE specified. The value of MODE should be in octal. You must check the return value against the number of files that you attempted to change to determine whether the operation failed. This funcation call is equivalent to Unix Command chmod MODE FILELIST
Return Value
- Integer, number of files successfully changed
Example
$cnt = chmod 0755, 'foo', 'bar'; |
No comments:
Post a Comment