LogFileViewerPermissionsIssue

Help with issues regarding installation of Debian
Post Reply
Message
Author
geoffkaniuk
Posts: 84
Joined: 2010-05-30 23:09
Location: Cambridge

LogFileViewerPermissionsIssue

#1 Post by geoffkaniuk »

I am trying to use Log File Viewer in Buster with Mate 1.20.4. I would like to see possible PHP errors, which are usually shown in the apache2 logs. But Log File Viewer will not show those, giving the message:

Code: Select all

Error opening directory 'var/log/apache2': Permission denied
If I launch the viewer from the command line via sudo, then I can view the files. I have also attempted to examine /var/log using:

Code: Select all

~$ cd /var/log
/var/log$ ls -lF apache2  
   ls: cannot open directory 'apache2': Permission denied
/var/log$ sudo ls -lF apache2
   SUCCESS
/var/log$ cd apache2 
   bash: cd: apache2: Permission denied
/var/log$ sudo cd apache2
   sudo: cd: command not found      
Having to launch the viewer from the command line is inconvenient as you don't always know ahead of time which logs are going to be blocked.

I was unable to find any documentation on this - the manual is silent on configuration. It mentions /etc/syslog.conf but I have no such file.

Is my Log File Viewer correctly installed?
Geoff

Post Reply