Re: [squid-users] Permissions of Cache Dir

From: Peter Albrecht <pa@dont-contact.us>
Date: Tue, 11 Nov 2003 13:17:36 +0100

Hi Jens,

> I am using a user squid with group squid to run it on. How and what
> permissions do i need to set?

What is the home directory for your user squid? It should be the cache
directory (e.g. /var/cache/squid or whatever your system uses). And of course
you need full access to it:

drwxr-x--- 18 squid root 504 Nov 8 00:15 /var/cache/squid

(the group should be squid in your case, too). So just change the owner of the
directory to squid (use chown -R).

> And by the way: is there a chance to set homedir of a user after creating
> the user?

Sure: simply modify the entry in /etc/passwd with usermod (or if you prefer
higher risks: use vi ;-)).

Regards,

Peter

-- 
Peter Albrecht					peter.albrecht@suse.de
SUSE LINUX AG					Phone +49-89-386656-0
Ainmillerstrasse 27				Fax +49-89-386656-15
D-80801 Munich					http://www.suse.de/training
Received on Tue Nov 11 2003 - 05:17:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:13 MST