Hi all, i'm trying to change the default cache directory in squid3 to a new one but is not working.
the default directory is /var/spool/squid3
Quote:
drwxrwxrwx 11 root root 4096 2007-11-27 00:34 .
drwxrwxrwx 15 root root 4096 2007-11-21 00:37 ..
drwxrwxrwx 2 root root 4096 2007-11-21 00:41 anacron
drwxrwxrwx 5 root root 4096 2007-11-20 23:53 cron
drwx--x--- 3 root lp 4096 2007-12-05 19:23 cups
drwxrwxrwx 4 root root 4096 2007-11-27 00:45 cups-pdf
drwxrwxrwx 5 Debian-exim Debian-exim 4096 2007-11-20 23:56 exim4
drwxrwxrwx 4 lp lp 4096 2007-12-11 20:13 lpd
lrwxrwxrwx 1 root root 7 2007-11-20 23:03 mail -> ../mail
drwxrwxrwx 3 root root 4096 2007-11-20 23:55 openoffice
drwxrwxrwx 2 root root 4096 2007-09-18 00:45 samba
drwxrwxrwx 18 proxy proxy 4096 2007-12-12 13:18 squid3
|
as you can see the owner and group is proxy
i have a 80gb hdd mounted in /mnt/warehouse and i created a folder also called squid3
Quote:
drwxrwxrwx 10 pliqui pliqui 4096 2007-12-12 13:23 .
drwxrwxrwx 5 root root 4096 2007-11-29 18:25 ..
drwxrwxrwx 4 pliqui pliqui 4096 2007-12-12 09:30 Backup
drwxrwxrwx 6 pliqui pliqui 4096 2007-12-08 03:48 Downloads
-rw-r--r-- 1 pliqui root 1524425 2007-12-08 01:01 EVEMon-install-1.2.4.1005.exe
drwxrwxrwx 2 root root 16384 2007-10-06 15:59 lost+found
drwxrwxrwx 4 pliqui pliqui 4096 2007-12-11 22:58 Movies
drwxrwxrwx 3 pliqui pliqui 4096 2007-10-29 12:12 Series
drwxrwxrwx 2 proxy proxy 4096 2007-12-12 13:23 squid3
drwxrwxrwx 3 pliqui pliqui 4096 2007-12-06 15:07 Star Wars RPG Files 5.0
-rw-r--r-- 1 pliqui root 58368 2007-11-30 21:14 test.xls
drwxrwxrwx 2 pliqui pliqui 4096 2007-12-12 13:12 .Trash-pliqui
|
and set the owner and group also as proxy
my squid.conf line
Quote:
cache_dir ufs /mnt/warehouse/squid3 10240 16 256
|
if i change this to the default directory works
i'm missing something?
thank you
I forgot to mention my fstab
Code:
proc /proc proc defaults 0 0
/dev/mapper/nvidia_aheeibdi2 / ext3 errors=remount-ro 0 1
/dev/mapper/nvidia_aheeibdi5 /boot ext3 defaults 0 2
/dev/mapper/nvidia_aheeibdi6 none swap sw 0 0
/dev/hda1 /mnt/warehouse ext3 defaults 1 1
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0