Changing Directory rights with chgrp or exec("chown")

From: Date: Tue, 13 Mar 2001 19:34:02 +0000
Subject: Changing Directory rights with chgrp or exec("chown")
Groups: php.general 
Request: Send a blank email to php-general+get-43681@lists.php.net to get a copy of this message
Hi all, Is it possible to change the group rights on a directory like this? chgrp("/home/www/host/sitedir.com", "site1.com"); It doesn't work for me and i have tried this: exec(chown apache:site1.com /home/www/host/sitedir.com") Where sitedir.com is the directory i wish to be affected and site1.com is the group that i want assigned to it. Is their a way to make this work?? Thanks Dominique Paquin

« previous php.general (#43681) next »