PHP lchgrp() Function

lchgrp() — Changes group ownership of symlinkReturns TRUE on success or FALSE on failure.

bool lchgrp ( string $filename , mixed $group )

Attempts to change the group of the symlink filename to group.

Only the superuser may change the group of a symlink arbitrarily; other users may change the group of a symlink to any group of which that user is a member.

Example -