lchown

It changes user ownership of symlink

Example

<?php

$target = ‘test.php’;

$link = ‘test’;

symlink($target, $link);

lchown($link, 8);

?>

Share