Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Squid + nobody + access.log (newbie)

Status
Not open for further replies.

Mauric

Technical User
Feb 18, 2003
72
CH
SUSE 7.3, Kernel 2.4.20

linux (squid): Cannot open '/var/log/squid/var/logs/access.log' for writing. The parent directory must be writeable by the User 'nobody',
which is the cache_effective_user in squid.conf.

"how can i set the right to the user nobody and folder"

best regards
Maurizio
 
The /var/log/squid directory must be writeable by the user that is running squid (as you say this is defined by cache_effective_user).

To change the access, use the chown command:

chown -R nobody:nobody /var/log/squid

This will change ownershp of the directory to user nobody and group nobody. The -R option will also change all directories below this...

ChrisCW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top