Jump to content

Permissions


amonk

Recommended Posts

Hi again, sorry about the last post I made, I didn't realise that what I did effected the pages.

But I do still have a problem with permissions, its is very easy to fix it, but I want something to be done automatically, this:

Could I use some sort of command that sets everything in a directory and its sub-directories for an unlimited amount of layers to be owned by apache, but chmoded to 777?

What I have to do at the moment is run three commands:

cd /var/www/html

chown apache . -R

chmod 777 . -R

 

But I want this to happen on each file that ever goes into that directory - automtically...

Link to comment
https://forums.phpfreaks.com/topic/152567-permissions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.