[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]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] WTF: Rettigheder



> "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


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2009-07-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *