permissions problem while reading log file

Colin Law clanlaw at googlemail.com
Wed Jan 16 22:16:05 UTC 2013


On 16 January 2013 20:15, Abhishek Dixit <abhidixit87 at gmail.com> wrote:
> I want to read a log file to see if squid-deb-proxy server is running or not
> so I do
>
> tail: cannot open `squid-deb-proxy/access.log' for reading: Permission
> denied
>
>  tail -f squid-deb-proxy/access.log

You should use
 sudo tail -f /var/log/squid-deb-proxy/access.log

Colin




More information about the ubuntu-users mailing list