diff options
Diffstat (limited to 'doc/PROGRAMMING')
-rw-r--r-- | doc/PROGRAMMING | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index bf7e9249..af4fedeb 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -359,8 +359,7 @@ reset_perm_and_owner($mode, $path...) The file owner and group is set to "root:root". The change is only done on the exact paths listed (i.e. it is *not* recursive). - To avoid issue, please pass mode as a string (i.e. '0755' - rather than 0755). + Mode should be passed as an integer (not a string). open_gz($file) Open $file, read from it as a gzip-compressed file and return the file handle. |