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

2001-03-15 Thread Richard Lynch
> 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/si

[PHP] Changing Directory rights with chgrp or exec("chown")

2001-03-13 Thread Dominique Paquin
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 site