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

From: Date: Fri, 16 Mar 2001 07:04:51 +0000
Subject: Re: Changing Directory rights with chgrp or exec("chown")
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44227@lists.php.net to get a copy of this message
> Is it possible to change the group rights on a directory like this? > > chgrp("/home/www/host/sitedir.com", "site1.com"); "site1.com" is a pretty unusual group name... I don't think that's valid... > 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?? -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#44227) next »