[wellylug] ubuntu access problem
Grant McLean
grant at mclean.net.nz
Fri Feb 22 08:40:35 NZDT 2008
On Thu, 2008-02-21 at 22:49 +1300, Cliff Pratt wrote:
> For reference an editted list of mine is as follows:
>
> cliffp at bumblebee:~$ ls -l /
> total 164
> drwxr-xr-x 2 root root 4096 2007-12-02 10:59 bin
> drwxr-xr-x 3 root root 4096 2008-02-14 22:03 boot
> lrwxrwxrwx 1 root root 11 2006-07-31 06:47 cdrom -> media/cdrom
> drwxr-xr-x 14 root root 14000 2008-02-21 12:51 dev
> drwxr-xr-x 157 root root 8192 2008-02-21 22:12 etc
> drwxr-xr-x 5 root root 4096 2007-04-16 18:32 home
> drwxr-xr-x 2 root root 4096 2006-05-31 12:49 initrd
> lrwxrwxrwx 1 root root 29 2007-12-13 21:14 initrd.img ->
> boot/initrd.img-2.6.22-14-xen
> lrwxrwxrwx 1 root root 33 2007-12-02 11:35 initrd.img.old ->
> boot/initrd.img-2.6.22-14-generic
> drwxr-xr-x 17 root root 8192 2007-12-10 08:46 lib
> drwxr-xr-x 4 root root 4096 2007-12-02 10:55 lib32
> lrwxrwxrwx 1 root root 3 2006-07-31 06:47 lib64 -> lib
> drwxr-xr-x 2 root root 49152 2006-07-31 06:46 lost+found
> drwxr-xr-x 5 root root 4096 2008-02-21 12:50 media
> drwxr-xr-x 6 root root 4096 2007-12-22 15:08 mnt
> drwxr-xr-x 2 root root 4096 2006-05-31 12:49 opt
> dr-xr-xr-x 163 root root 0 2008-02-22 01:50 proc
> drwxr-xr-x 24 root root 4096 2008-02-21 09:33 root
> drwxr-xr-x 2 root root 8192 2007-12-13 21:29 sbin
> drwxrwx--- 22 root plugdev 4096 1970-01-01 12:00 share
> drwxr-xr-x 2 root root 4096 2006-05-31 12:49 srv
> drwxr-xr-x 13 root root 0 2008-02-22 01:50 sys
> drwxrwxrwt 17 root root 8192 2008-02-21 22:23 tmp
> drwxr-xr-x 12 root root 4096 2007-04-25 22:00 usr
> drwxr-xr-x 18 root root 4096 2007-12-02 11:04 var
> lrwxrwxrwx 1 root root 26 2007-12-13 21:14 vmlinuz ->
> boot/vmlinuz-2.6.22-14-xen
> lrwxrwxrwx 1 root root 30 2007-12-02 11:35 vmlinuz.old ->
> boot/vmlinuz-2.6.22-14-generic
Also, in addition to the permissions of directories *in* the root, the
permissions of the root directory itself might be of interest:
$ ls -ld /
drwxr-xr-x 22 root root 4096 2008-01-28 08:49 /
If that didn't match yours, you could fix it with:
sudo chmod 755 /
Cheers
Grant
More information about the wellylug
mailing list