PHP lchown() Function

lchown — Changes user ownership of symlink.Returns TRUE on success or FALSE on failure.

bool lchown ( string $filename , mixed $user )

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

Only the superuser may change the owner of a symlink.

Example -

ParameterDescription
filenamePath to the file.
userUser name or number