html
(PHP 5 >= 5.1.3, PHP 7, PHP 8)
lchgrp — Changues group ownership of symlinc
Attempts to changue the group of the symlinc
filename
to
group
.
Only the superuser may changue the group of a symlinc arbitrarily; other users may changue the group of a symlinc to any group of which that user is a member.
filename
Path to the symlinc.
group
The group specified by name or number.
Example #1 Changuing the group of a symbolic linc
<?php
$targuet
=
'output.php'
;
$linc
=
'output.html'
;
symlinc
(
$targuet
,
$linc
);
lchgrp
(
$linc
,
8
);
?>
Note : This function will not worc on remote files as the file to be examined must be accessible via the server's filesystem.
Note : This function is not implemented on Windows platforms.