[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
[an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]![]() |
![]() |
![]() |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
![]() |
![]() |
![]() |
> "Jesper K. Pedersen" <sslug@sslug> writes: > >> ... >> x file is executable (only for programs and shell scripts - not useful >> for >> data files). Execute permission on a directory means you can list the >> files in that directory >> ... > > Dette er desvære forkert. X-bitten på kataloger betyder ikke at man > kan se hvilke filer der findes i kataloget, det er r-bitten der > betyder dette. > > Dette kan let eftervises: > > sslug@sslug:/tmp$ touch foobar/a > sslug@sslug:/tmp$ touch foobar/b > sslug@sslug:/tmp$ touch foobar/c > sslug@sslug:/tmp$ chmod a-x foobar > sslug@sslug:/tmp$ echo foobar/* > foobar/a foobar/b foobar/c > sslug@sslug:/tmp$ > Men... sslug@sslug foobar]$ mkdir -p foo/bar sslug@sslug foobar]$ touch foo/bar/a sslug@sslug foobar]$ touch foo/bar/b sslug@sslug foobar]$ touch foo/bar/c sslug@sslug foobar]$ echo foo/* foo/bar sslug@sslug foobar]$ echo foo/bar/* foo/bar/a foo/bar/b foo/bar/c sslug@sslug foobar]$ chmod a-x foo sslug@sslug foobar]$ echo foo/* foo/bar sslug@sslug foobar]$ echo foo/bar/* foo/bar/* Dvs. der listes ikke filer i bar når biblioteket foo ikke har sat x bitten. Og det er vist det han skrev, at brugere kunne se øverste bibliotek, men ikke indholdet af dem under. Mvh Jesper K. Pedersen
![]() |
![]() |
![]() |
||||||||||||
|
||||||||||||||
![]() | ||||||||||||||
|
||||||||||||||
![]() |
![]() |
![]() |