LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   question on squid config (https://www.linuxquestions.org/questions/linux-newbie-8/question-on-squid-config-840881/)

struggled_newbie 10-27-2010 10:35 PM

question on squid config
 
Hello Linux Guru's
I have tried to Squid 3.1 install on CentOS 5.5, the ./configure , make , and make install seems okay. I've only change some minimal configuration on http_port and visble_hostname.

I'm just confused on what I've read on some article, why should I change the directory attributes of /usr/local/squid/var by invoking this command: chown -R user1 /usr/local/squid/var.

cheesewizz 10-27-2010 11:41 PM

Quote:

Originally Posted by struggled_newbie (Post 4141691)
Hello Linux Guru's
I have tried to Squid 3.1 install on CentOS 5.5, the ./configure , make , and make install seems okay. I've only change some minimal configuration on http_port and visble_hostname.

I'm just confused on what I've read on some article, why should I change the directory attributes of /usr/local/squid/var by invoking this command: chown -R user1 /usr/local/squid/var.



all contents from ../squid/var will be owned by your user1 in order to squid can read or write...


But if you use root all priviledges will be granted



Please check the owner of your squid





Hope this can help for you

struggled_newbie 10-27-2010 11:54 PM

ahh, so that's why it is, I've already invoked the chown -R user1 to the directory, is there any way that I can I change it back to default aor make the root the owner of the directory? thank you for the reply

Quote:

Originally Posted by cheesewizz (Post 4141733)
all contents from ../squid/var will be owned by your user1 in order to squid can read or write...


But if you use root all priviledges will be granted



Please check the owner of your squid





Hope this can help for you


cheesewizz 10-28-2010 12:15 AM

Quote:

Originally Posted by struggled_newbie (Post 4141742)
ahh, so that's why it is, I've already invoked the chown -R user1 to the directory, is there any way that I can I change it back to default aor make the root the owner of the directory? thank you for the reply

Yes you can return it back to root owner

by doing this

chown -R root:root [Location_path] = /usr/local/squid/var

to check the owner

command: ls or ls -l


Thanks

struggled_newbie 10-28-2010 01:02 AM

Thank you
Quote:

Originally Posted by cheesewizz (Post 4141759)
Yes you can return it back to root owner

by doing this

chown -R root:root [Location_path] = /usr/local/squid/var

to check the owner

command: ls or ls -l


Thanks



All times are GMT -5. The time now is 01:47 AM.