lchgrp
(PHP 5 >= 5.1.2)
lchgrp — Changes group ownership of symlink
설명
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.
인수
- filename
-
Path to the symlink.
- group
-
The group specified by name or number.
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.
예제
Example #1 Changing the group of a symbolic link
<?php
$target = 'output.php';
$link = 'output.html';
symlink($target, $link);
lchgrp($link, 8);
?>
There are no user contributed notes for this page.
