LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with chown command (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-chown-command-582251/)

brokenpromises 09-04-2007 08:55 PM

Help with chown command
 
Hello,

I've got a web server set up, and have been told that the most secure way of allowing apache to write to directories (for running CMS software such as Joomla). Everything is running it with chmod 777 at the moment, so is not overly secure, and for once, I'd like to do things 'properly',

How can I use chown to add apache to the group? I'm not sure where to start, or which group to add apache even ;)

Any help appreciated :D

AwesomeMachine 09-04-2007 10:32 PM

chown -R user:group directory

rishipandit007 09-05-2007 03:24 AM

Thinking of security
 
If you are thinking about security of your files then better not give 777 instead use 755 and do check if you are using selinux.


All times are GMT -5. The time now is 12:06 AM.