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 |
chown -R user:group directory
|
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. |