Re: jabber - chmod on files

From: Date: Fri, 01 Aug 2003 07:08:32 +0000
Subject: Re: jabber - chmod on files
Groups: php.general 
Request: Send a blank email to php-general+get-157891@lists.php.net to get a copy of this message
To change the rights from a php script put the following lines define('CHMOD_FILES', 0666); //define('CHMOD_DIRS', 0777); @chmod(Your file name, CHMOD_FILES); Un saludo, Danny Carlos Castillo <ccastillo@imagine. Para: "'php-general@lists.php.net'" <php-general@lists.php.net> com.co> cc: Asunto: [PHP] jabber - chmod on files 31/07/2003 23:51 HI, I'm using jabber but I have one problem, I did an administrator webpage for it, so I create the users for jabber in that page, when I create the user, it creates a xml file with permission of 644 and the owner is apache, but when I connect on the jabber or that user connects the xml file changes to 600 and the owner to root. The problem is that I have to read that file after he connects but when I try I don't have access, because the perm is on 600, How can I change the perm from the php page, so I change with chmod 644 xxxx.xml before I open it....or how can I modify jabber so it doesn't change the perm of the files? Thanks! Carlos A. Castillo. Ingeniero de desarrollo ccastillo@imagine.com.co ____________________________________ Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)6163218 Bogotá - Colombia ____________________________________ - Soluciones web para Internet e Intranet - Soluciones para redes - Licenciamiento de Software - Asesoría y Soporte Técnico ____________________________________

« previous php.general (#157891) next »