LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2010, 11:35 PM   #1
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Rep: Reputation: 15
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.
 
Old 10-28-2010, 12:41 AM   #2
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Rep: Reputation: 15
Quote:
Originally Posted by struggled_newbie View Post
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
 
Old 10-28-2010, 12:54 AM   #3
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
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 View Post
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
 
Old 10-28-2010, 01:15 AM   #4
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Rep: Reputation: 15
Quote:
Originally Posted by struggled_newbie View Post
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
 
Old 10-28-2010, 02:02 AM   #5
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
Thank you
Quote:
Originally Posted by cheesewizz View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid config, allow external IP address to connect to Squid langerak Linux - Server 10 08-04-2010 10:17 AM
Squid Config Help krishvij Linux - Networking 6 04-28-2005 11:41 PM
Squid config question gubak Linux - Networking 4 12-10-2004 07:37 AM
[help] squid config piyushiitk Linux - Software 2 12-05-2004 07:50 PM
[help ] squid config piyushiitk Linux - Networking 0 12-05-2004 08:49 AM


All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration