Forum und email

lchgrp

(PHP 5 >= 5.1.2)

lchgrp — Changes group ownership of symlink

Descrição

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.

Parâmetros

filename

Path to the symlink.

group

The group specified by name or number.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Notas

Nota: Esta função não trabalha com arquivos remotos, de forma que o arquivo a ser examinado precisa ser acessível pelo sistema de arquivos do servidor.

Nota: Quando o safe-mode está ativo, o PHP verifica se o(s) arquivo(s) e/ou diretório(s) que serão afetados por esta operação tem o mesmo UID (proprietário) do script que está sendo executado.