Re: Help with squid / squidGuard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 05, 2009 at 11:13:39PM +0100, Dominick Grift wrote:
> Op donderdag 05-02-2009 om 23:02 uur [tijdzone +0100], schreef Dominick
> Grift:
> 
> > Whoops the above should be:
> > 
> > echo "/var/squidGuard(/.*)? gen_context(system_u:object_r:squid_var_t,
> > s0)" > mysquid.fc;
> > 
> > file contexts go into the .fc file instead of the .te file
> 
> Also you would need to restore the context of that location:
> 
> sudo restorecon -R -v /var/squidGuard
> 
> my solution may not work and this is because of the strange location. I
> would have expected /var/lib/squidGuard instead and so my
> var_lib_filetrans() may not work.

Thanks for your help Dominick - It's much appreciated...

I am trying your solution now, and so far no denials (it's only been 3
minutes though!).

Am I right in thinking that all this would be unnecessary if the files
were in /var/lib/squidGuard ?

I cannot remember now why they ended up in /var/squidGuard (I think I
was copying a sample download script - It's been several years since I
first set it up). With a bit of effort I could move them all to
/var/lib/squidGuard. Would that be the *right* thing to do?

Once again, thanks for your help...

Mark

Attachment: pgpeJ3VYYGJXA.pgp
Description: PGP signature

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux