Logo KRISTOFFER BOHMANN  [BETA]
  • Forside
  • Om KB
  • Kompetencer
  • Referencer
Filesystem
basename
chgrp
chmod
chown
clearstatcache
copy
delete
dirname
diskfreespace
disk_free_space
disk_total_space
fclose
feof
fflush
fgetc
fgetcsv
fgets
fgetss
file
fileatime
filectime
filegroup
fileinode
filemtime
fileowner
fileperms
filesize
filetype
file_exists
file_get_contents
file_put_contents
flock
fnmatch
fopen
fpassthru
fputcsv
fputs
fread
fscanf
fseek
fstat
ftell
ftruncate
fwrite
glob
is_dir
is_executable
is_file
is_link
is_readable
is_uploaded_file
is_writable
is_writeable
lchgrp
lchown
link
linkinfo
lstat
mkdir
move_uploaded_file
parse_ini_file
parse_ini_string
pathinfo
pclose
popen
readfile
readlink
realpath
realpath_cache_get
realpath_cache_size
rename
rewind
rmdir
set_file_buffer
stat
symlink
tempnam
tmpfile
touch
umask
unlink
Home > PHP > Function > Filesystem > lchown()

lchown()

lchown - Changes user ownership of symlink

Syntax

bool lchown (string $filename, mixed $user)

Arguments

  • filename - Path to the file.
  • user - User name or number.

Description

Attempts to change the owner of the symlink filename to user user.

Version

PHP 5.1.2

Return value

Returns TRUE on success or FALSE on failure.
Kristoffer Bohmann, Ved Bjerget 12, DK- 9530 Støvring, Telefon +45 29 79 39 19, E-mail: