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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-27-2010, 10:35 PM
|
#1
|
Member
Registered: Sep 2009
Posts: 125
Rep:
|
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.
|
|
|
10-27-2010, 11:41 PM
|
#2
|
Member
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221
Rep:
|
Quote:
Originally Posted by struggled_newbie
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
|
|
|
10-27-2010, 11:54 PM
|
#3
|
Member
Registered: Sep 2009
Posts: 125
Original Poster
Rep:
|
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
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
|
|
|
|
10-28-2010, 12:15 AM
|
#4
|
Member
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221
Rep:
|
Quote:
Originally Posted by struggled_newbie
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
|
|
|
10-28-2010, 01:02 AM
|
#5
|
Member
Registered: Sep 2009
Posts: 125
Original Poster
Rep:
|
Thank you
Quote:
Originally Posted by cheesewizz
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 07:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|