Re: security/deployment issue

From: Date: Fri, 16 Oct 2009 22:45:45 +0000
Subject: Re: security/deployment issue
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-298973@lists.php.net to get a copy of this message
> Humm.. thanks for the replies. But i have another problem about rsync > again. > > > > When i deploy a project using the rsync the permissions of all home > directory is changed. i tried to use the parameter -p -o -g (preserve > permissions, owner and group): > > > I dont know but the rsync doesnt preserve the permissions and group/owner. > > > Then always after a deploy i need to execute the cmd "chmod 755 user:group > /home/project" . Have someone this problem? > > > Thanks > > > Augusto Morais > That would sugest that you are running PHP as the same user as Apache, instead running it as the user which owns the files (the same user you are using with rsync) would solve this problem. This can be done by running php as a fastcgi application with suexec or using mpm-itk.

« previous php.general (#298973) next »