lchgrp

(no version information, might be only in CVS)

lchgrp -- Changes group ownership of symlink

Description

bool lchgrp ( string filename, mixed group )

Attempts to change the group of the symlink filename to group (specified by name or number). 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.

Retorna TRUE em caso de sucesso ou FALSE em falhas.

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.

See also chgrp(), lchown() chown(), e chmod().