Menu
Samaritan's Purse

CHGRP

Changes file group

SYNTAX

chgrp ( string $filename , mixed $group ) : bool

PARAMETERS

filename

Path to the file.

group

A group name or number.

RETURN

Returns TRUE on success or FALSE on failure.

EXAMPLES

filename: file.txt
date: Fri, 22 Jan 2021 23:12:42 +0000
group: 0
filename: file.txt
date: Fri, 22 Jan 2021 23:12:42 +0000
group: 8

PHP