Stuck on Changing Permissions

I am on a Linux/Apache server and am trying to install Suite CRM but am stuck on the changing permissions portion of the installation guide. Whenever I run the sudo chown -R apache:apache . command I get a response of “chown: invalid option – ‘r’” I’m not incredibly familiar with command line syntax, so I don’t understand what I’m doing wrong. If someone could please help that would be great.

When using chown -R apache:apache make sure user apache exists. If you are not sure please check file /etc/httpd/conf/httpd.conf and confirm what information you have under user and group.

Here is a conversation regarding Apache user:

https://serverfault.com/questions/125865/finding-out-what-user-apache-is-running-as

Thanks,

AlxGr

Thanks for the reply! It turned out that I was already the owner of the files so I did not need to run the first command and that’s why the error kept coming up. Appreciate the response on this.