Logview shoud use sudo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| gnome-utils |
Confirmed
|
Wishlist
|
||
| gnome-utils (Ubuntu) |
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-utils
I tried to view /var/log/
the problem is caused because of not having the right permissions to see the files, gnome-system-log should use sudo for this.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: gnome-utils 2.24.1-0ubuntu1
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_IN
SourcePackage: gnome-utils
Uname: Linux 2.6.27-10-generic i686
Shirish Agarwal (shirishag75) wrote : | #1 |
Shirish Agarwal (shirishag75) wrote : | #2 |
KevinM (kevbert1) wrote : | #3 |
Pedro Villavicencio (pedro) wrote : | #4 |
do you have the right permissions to see the file ? could you ls -las on the the /var/log/apt/ directory and attach the output to the report? thanks.
Changed in gnome-utils: | |
assignee: | nobody → desktop-bugs |
importance: | Undecided → Low |
status: | New → Incomplete |
Shirish Agarwal (shirishag75) wrote : Re: [Bug 306021] Re: gnome-system-log tells /var/log/apt/term.log is not a log file | #5 |
Hi Pedro,
Thank you for getting back so quickly.
This is the output of ls -las on /var/log/apt
$ ls -las /var/log/apt/
total 84
4 drwxr-xr-x 2 root root 4096 2008-12-08 00:48 .
4 drwxr-xr-x 14 root root 4096 2008-12-09 08:20 ..
20 -rw------- 1 root root 16573 2008-12-09 08:32 term.log
56 -rw------- 1 root root 49825 2008-12-01 01:22 term.log.1.gz
In fact gnome-system-log should ask me for superuser's password which
it doesn't but that I guess is another bug.
--
Regards,
Shirish Agarwal
This email is licensed under http://
http://
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17
Hi Pedro. Here's my outputs for the command:
*** Ubuntu 8.0.4.1 Failed to work ***
kevin@kevin-
total 96
4 drwxr-xr-x 2 root root 4096 2008-12-07 20:14 .
4 drwxr-xr-x 15 root root 4096 2008-12-09 08:03 ..
8 -rw------- 1 root root 7508 2008-12-08 19:19 term.log
32 -rw------- 1 root root 31884 2008-11-29 12:25 term.log.1
8 -rw------- 1 root root 5947 2008-10-30 08:32 term.log.2.gz
8 -rw------- 1 root root 4149 2008-09-28 19:42 term.log.3.gz
32 -rw------- 1 root root 29185 2008-08-30 11:01 term.log.4.gz
*** Ubuntu 9.04 Working ***
kevin@Dt1b:~$ ls -las /var/log/apt/
total 68
4 drwxr-xr-x 2 root root 4096 2008-12-07 09:37 .
4 drwxr-xr-x 13 root root 4096 2008-12-09 09:33 ..
4 -rw------- 1 root root 597 2008-12-07 09:57 term.log
56 -rw------- 1 root root 50394 2008-12-06 20:39 term.log.1.gz
Pedro Villavicencio (pedro) wrote : | #7 |
If it doesnt work is because of the permissions, try changing the permissions and read the log file again, system log will let you see it. As Shirish said it should use sudo and that's a known bug upstream: http://
Changed in gnome-utils: | |
status: | Incomplete → Triaged |
description: | updated |
Changed in gnome-utils: | |
status: | Unknown → Confirmed |
Changed in gnome-utils: | |
importance: | Unknown → Wishlist |
This bug also occurs in Hardy Heron 8.0.4.1 64 bit kernel 2.6.24-22 but works fine in Jaunty Jackalope 64 bit kernel 2.6.28-2. See also http:// ubuntuforums. org/showthread. php?p=6325690 from post #5 onwards.