Hi;

[On Sat Sep  4 13:58:28 2004 +0200, Michelle Konzack wrote:]


> Du kannst selbst f�r root die Datei nicht lesbar machen...
> Mach mal eine 
> 
>       chmod 000 /root/profile
> 
> Viel spa�...

--8<--------------------------------------------------------------------------
{0} (pts/3) <Linux 2.4.27mw> [/tmp/blafasel]
(518) [EMAIL PROTECTED] # echo text > bla
 
{0} (pts/3) <Linux 2.4.27mw> [/tmp/blafasel]
(519) [EMAIL PROTECTED] # chmod 000 . bla

{0} (pts/3) <Linux 2.4.27mw> [/tmp/blafasel]
(520) [EMAIL PROTECTED] # dir
total 12
   4 d---------    2 root     root         4096 Sep  4 14:05 ./
   4 drwxrwxrwt    9 root     root         4096 Sep  4 14:03 ../
   4 ----------    1 root     root            5 Sep  4 14:05 bla

{0} (pts/3) <Linux 2.4.27mw> [/tmp/blafasel]
(521) [EMAIL PROTECTED] # cat bla
text
--8<--------------------------------------------------------------------------

So what?


> Das die Dateien ohne ein chmod nicht lesbar sind...
> Denk mal dar�ber nach...

Erstens stimmt das so nicht f�r root (vgl. oben), zweitens ging es dem OP
um folgendes:

: Warum kann die Datei `kernel-2.4.23.config' denn weder aufgelistet, noch
: gel�scht werden?

Daf�r sollten ausschlie�lich die Rechte des Verzeichnis, nicht aber die der
Datei selbst ausschlaggebend sein.


 Gru�
 Mawan

-- 
 ##    ##      #  ***   M A R T I N   W A N K E   ***
 # #  # #      #
 #  ##  #  ##  #  mail: [EMAIL PROTECTED]
 #      # #  # #  WWW:  http://www.mawan.de/
 #      ##    ##  PGP:  http://www.mawan.de/aboutme/PGP-Keys/

 ***  By and large, the only skill the alchemists of Ankh-Morpork had       ***
 ***  discovered so far was the ability to turn gold into less gold.        ***
 ***                                    [Terry Pratchett: Moving Pictures]  ***

Attachment: pgpikIFAhF8Xs.pgp
Description: PGP signature

Antwort per Email an