hey cant open the the access.log how to change permission to this file, anybody help
thanks
hey cant open the the access.log how to change permission to this file, anybody help
thanks
I suspect if you did an `ls -l /var/log/squid/access.log` that the owner (root) would have read access already, but you can be certain of this by doing:
Some commands are a little funky if you're running them through sudo and not actually at a root prompt. Have you tried that?Code:sudo chmod o+r /var/log/squid/access.log
i check the permission it shows
root@myron:/# ls -l /var/log/squid/access.log
-rw-r--r-- 1 proxy proxy 0 2009-09-15 11:20 /var/log/squid/access.log
falcon still no luck i follow your code but does not work
sudo chmod o+r /var/log/squid/access.log
then i tail -f access.log again does not open ohhh my
Last edited by Myronray; September 15th, 2009 at 06:01 AM.
Try:
-TimCode:sudo chmod 755 /var/log/squid/access.log sudo chown root:root /var/log/squid/access.log
www.pcchopshop.net
Hard to find and obsolete PC and server parts. "If we can't find it, it probably doesn't exist"
Bookmarks