Directory rights: Create and delete is possible but not ccggrp, why?

From: Date: Thu, 22 Mar 2001 19:56:35 +0000
Subject: Directory rights: Create and delete is possible but not ccggrp, why?
Groups: php.general 
Request: Send a blank email to php-general+get-45137@lists.php.net to get a copy of this message
I posted a message last week on this subject, and I have searched for an answer meanwhile. So i decided to re ask my question a little bit differently since i did not find the answer to my problem: I use a web based application I am making and through this application I create directories. I can create the directories with no problem using PHP with full rights (777). The directories, then, needs to have their group changed to something else and here is my problem, I tried a chgrp (the php function) from php to change it as well as exec('chgrp'...) or exec('chown' ...) and then I tried a system('chgrp'...) and system('chown'...). All this to no success. Someone told me, here on the list, that apache was runing as nobody:nobody, so it had no rights to change rights. We changed the user:group of apache and called it apache:apache. then we re-tried all our experiences, to no avail. I am sure I am having all the rights necessary because I can delete the directories I create with no trouble. Note: If I connect in console mode with the user apache, i can chown the directory as I wish. Any suggestion on how to change rights on directories would be appreciated. (With PHP or any other solution) Thanks in advance Dominique Paquin Galea secured networks

« previous php.general (#45137) next »