tec...@protonmail.com(tec...@protonmail.com) on 2017.05.28 19:57:41 -0400: > 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!!
none of the replies to this mail help in resolving the actual problem. please post your httpd.conf and a listing of your directory, ie. ls -lR /var/www and a dmesg.