GC_Filesystem_Base::chown()
最后更新于:2021-11-27 15:51:06
GC_Filesystem_Base::chown( string$file, string|int$owner, bool$recursive=false)Changes the owner of a file or directory.
参数
- $file
-
(string) (Required) Path to the file or directory.
- $owner
-
(string|int) (Required) A user name or number.
- $recursive
-
(bool) (Optional) If set to true, changes file owner recursively.
Default value: false
响应
(bool) True on success, false on failure.
源文件
文件: gc-admin/includes/class-gc-filesystem-base.php
public function chown( $file, $owner, $recursive = false ) {
return false;
}