[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

file permissions ... what am I missing ?



...mmm... thought I understood file permissions but I dont get this ....

web@debian:~$ cd /mnt/archive/
web@debian:/mnt/archive$ ls -al
total 52
drwxrwxrwx   10 root     root         4096 Feb  8 23:55 .
drwxr-xr-x    5 root     root         4096 Apr  2 19:37 ..
drw-r--r--    2 root     root         4096 Apr 26 10:50 autoarchive
drw-r--r--   17 root     root         4096 Apr 15 18:57 debian
drw-r--r--    6 root     root         4096 Jan 14 07:28 fluxbox
drw-r--r--    2 root     root        16384 Jan 14 07:13 lost+found
drw-r--r--    8 root     root         4096 Mar 13 10:09 misc
drwxrwxrwx    5 root     root         4096 Feb 12 18:21 music
drw-r--r--    3 root     root         4096 Feb 21 14:29 wallpaper
drw-r--r--    3 root     root         4096 Apr  5 11:10 wget
web@debian:/mnt/archive$ cd debian/
bash: cd: debian/: Permission denied
web@debian:/mnt/archive$

...mmm...su to root

web@debian:/mnt/archive$ su
Password:
debian:/mnt/archive# ls
autoarchive  debian  fluxbox  lost+found  misc  music  wallpaper  wget
debian:/mnt/archive# ls -al
total 52
drwxrwxrwx   10 root     root         4096 Feb  8 23:55 .
drwxr-xr-x    5 root     root         4096 Apr  2 19:37 ..
drw-r--r--    2 root     root         4096 Apr 26 10:50 autoarchive
drw-r--r--   17 root     root         4096 Apr 15 18:57 debian
drw-r--r--    6 root     root         4096 Jan 14 07:28 fluxbox
drw-r--r--    2 root     root        16384 Jan 14 07:13 lost+found
drw-r--r--    8 root     root         4096 Mar 13 10:09 misc
drwxrwxrwx    5 root     root         4096 Feb 12 18:21 music
drw-r--r--    3 root     root         4096 Feb 21 14:29 wallpaper
drw-r--r--    3 root     root         4096 Apr  5 11:10 wget
debian:/mnt/archive# cd debian/
debian:/mnt/archive/debian# ls -al
total 68
drw-r--r--   17 root     root         4096 Apr 15 18:57 .
drwxrwxrwx   10 root     root         4096 Feb  8 23:55 ..
drw-r--r--    2 root     root         4096 Jan 14 07:27 abiword
drw-r--r--    2 root     root         4096 Feb  9 08:41 bin
drw-r--r--    2 root     root         4096 Apr  5 09:14 browsers
drw-r--r--    2 root     root         4096 Jan 14 07:25 checkinstall
drw-r--r--    4 root     root         4096 Feb 19 07:24 games
drw-r--r--    5 root     root         4096 Apr  1 19:32 gimp
drw-r--r--    2 root     root         4096 Jan 19 01:30 grub
drw-r--r--    2 root     root         4096 Feb  4 17:54 java


OK what am I missing, I want to get to my debian directory, I have read 
permissions but no go ?

I know this is going to be simple .... but ....

Dave



Reply to: