Forum und email

lchgrp

(PHP 5 >= 5.1.2)

lchgrp — Changes group ownership of symlink

Descripción

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.

Lista de parámetros

filename

Path to the symlink.

group

The group specified by name or number.

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.

Notes

Note: Esta funcion no funcionara con ficheros remotos ya que el fichero a examinar tiene que estar disponible desde el sistema de ficheros del servidor.

Note: Cuando safe-mode (modo-seguro) está activado, PHP comprueba si los archivos o directorios que va a utilizar tienen la misma UID que el script que está siendo ejecutado.


pt>