chgrp

chgrp -- 改變檔案的群組(group)

Description

int chgrp (string filename, mixed group);

改變檔案的群組.只用管理員能任意更改檔案的群組.

如果更改成功, 會傳回true ; 更改失敗則傳回 false.

另可參考 chown() and chmod() .