lchgrp

It changes group ownership of symlink

Example

<?php

$target = ‘test.php’;

$link = ‘test’;

symlink($target, $link);

lchgrp($link, 8);

?>

Share