ufw warn: uid is 0 but "/" is owned by 1000
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: upstart
natty i386 updated
aplying the daily updates, i've seen into the dialog box details this warning for the first time on my system . Into terminal i get:
oem@oem-desktop:~$ ls -l /
total 683M
drwxr-xr-x 2 root root 4,0K 2011-01-26 20:37 bin/
drwxr-xr-x 3 root root 12K 2011-01-26 09:38 boot/
lrwxrwxrwx 1 root root 11 2009-04-05 10:32 cdrom -> media/cdrom
drwxr-xr-x 17 root root 4,8K 2011-01-27 08:49 dev/
drwxr-xr-x 170 root root 12K 2011-01-27 09:33 etc/
drwxr-xr-x 18 oem oem 4,0K 2009-08-02 15:32 home/
lrwxrwxrwx 1 root root 37 2011-01-06 16:53 initrd.img.old -> boot/initrd.
drwxr-xr-x 19 root root 16K 2011-01-26 20:38 lib/
drwx------ 2 root root 16K 2009-04-05 10:32 lost+found/
-rw-r--r-- 1 oem oem 682M 2009-12-27 16:27 lucid-alternate
drwxr-xr-x 16 oem oem 4,0K 2011-01-27 08:51 media/
drwxr-xr-x 2 root root 4,0K 2010-09-23 00:01 mnt/
dr-xr-xr-x 189 root root 0 2011-01-27 09:48 proc/
drwxr-xr-x 2 root root 4,0K 2009-05-03 20:15 Recycled/
drwx------ 30 root root 4,0K 2011-01-20 09:34 root/
drwxr-xr-x 2 root root 12K 2011-01-27 09:32 sbin/
drwxr-xr-x 3 root root 4,0K 2009-11-07 12:17 srv/
drwxr-xr-x 13 root root 0 2011-01-27 09:48 sys/
drwxrwxrwt 16 root root 4,0K 2011-01-27 09:32 tmp/
drwxr-xr-x 12 root root 4,0K 2011-01-08 14:57 usr/
drwxr-xr-x 15 root root 4,0K 2009-04-03 08:46 var/
lrwxrwxrwx 1 root root 34 2011-01-06 16:53 vmlinuz.old -> boot/vmlinuz-
-rw-r--r-- 1 root root 2,7K 2009-12-12 00:49 xorg.conf.new
oem@oem-desktop:~$ sudo ufw status
WARN: uid est 0 mais « / » appartient à 1000
État : actif
Vers Action Depuis
---- ------ ------
110 ALLOW Anywhere
25/tcp ALLOW Anywhere
51413 ALLOW Anywhere
oem@oem-desktop:~$ grep oem /etc/passwd
oem:x:1000:
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: upstart 0.6.7-5
ProcVersionSign
Uname: Linux 2.6.37-
NonfreeKernelMo
Architecture: i386
Date: Thu Jan 27 10:19:28 2011
ProcEnviron:
LANGUAGE=
LANG=fr_FR.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: upstart
Changed in upstart (Ubuntu): | |
status: | New → Invalid |
Thank you for taking the time to report this bug and helping to make Ubuntu better. However, this problem seems unrelated to upstart or ufw.
It appears your system has been upgraded to natty from a previous release and considering some of the files in your root directory, the problem you have just observed may have been present for some time. Root ("/") itself should have permissions 755 and be owned by root:root. Additionally, it appears that your /home and /media have had their permissions changed incorrectly. You also have a stray .iso and x.org file in "/".
Regarding the permissions issues you are seeing, please answer these questions:
* Is this reproducible on a newly installed or upgraded system?
* If so, what specific steps should we take to recreate this bug?
This will help us to find and resolve the problem.