On Sun, 28 May 2017 19:57:41 -0400, tec...@protonmail.com wrote:

> Hi there,
> 
> I have been using httpd for quite a while now, but after a new
> project/website having to have read/write/execute permissions
> (unsafe, I do realise..) I decided to:
> 
> 1. add root to the www group,
> 2. chown -R www:www /var/www/htdocs
> 3. chmod -R 775 /var/www/htdocs
> 
> Everything was running smoothly, until I was testing out the
> functionality and realised I couldn't use php to write new
> directories or files, so I checked the permissions and for some
> reason they have all switched back to: root:daemon with permissions
> of 755.
> 
> Now, I'm guessing this is a security feature in some way, but for my
> purposes and he type of service I'm creating it is breaking
> everything. Can someone tell me what to man page to look up for this
> or something? Time is of the essence because I need this website
> runing properly by tomorrow at latest.
> 
> Many many thanks!!

Probably (not sure because you didn't care to say which version you're
running) because you upgraded to a newer snapshots. Use another
directory (one that doesn't come in the sets) if you want to do that.

Reply via email to