The PHP lchgrp() function changes the group ownership of a symbolic link (a link in the filesystem).
Note: This function does not work on Windows platforms.
Output
// changes the group ownership of a symbolic link
Syntax
lchgrp(file, group)
Parameters
Parameter | Description |
---|---|
file | Specifies the path to the symlink (required) |
group | Specifies the new group by name or number (required) |