lchgrp
(PHP 5 >= 5.1.2)
lchgrp — Changes group ownership of symlink
Popis
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.
Parametre
- filename
-
Path to the symlink.
- group
-
The group specified by name or number.
Vrátené hodnoty
Vracia TRUE pri úspechu alebe FALSE pri chybe.
Poznámky
Note: Táto funkcia nebude fungovať na vzdialených súboroch, pretože súbor na preskúmanie musí byť prístupný cez súborový systém serveru.
Note: Keď je safe mode povolený, PHP zisťuje, či súbory alebo adresáre, na ktorých idete pracovať, majú rovnaké UID (vlastník) ako skript, ktorý sa spracováva.