2010-12-08 13:17, Lisi skrev:
My google foo seems to have deserted me completely. Could someone take
pity? :-(
I will try my best guess:
On our webserver-space it is quite common to leave directories without
read access, to prevent visitors from obtaining directory listings.
The files in those directories can be obtained by following links
containing the pathname of the file.
Test:
------------------------------------------
jo...@johan-laptop:~$ mkdir test
jo...@johan-laptop:~$ touch test/tt
jo...@johan-laptop:~$ echo TT >> test/tt
jo...@johan-laptop:~$ chmod u-r test
jo...@johan-laptop:~$ ls test
ls: kan inte öppna katalog test: Åtkomst nekas
jo...@johan-laptop:~$ env LC_ALL="C" ls test
ls: cannot open directory test: Permission denied
jo...@johan-laptop:~$ cat test/tt
TT
------------------------------------------
(LC_ALL included to get error message in english)
Hope it helps
/ johan
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/idnubt$7d...@dough.gmane.org