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) root@gryffindor # echo text > bla
{0} (pts/3) <Linux 2.4.27mw> [/tmp/blafasel]
(519) root@gryffindor # chmod 000 . bla
{0} (pts/3) <Linux 2.4.27mw> [/tmp/blafasel]
(520) root@gryffindor # 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) root@gryffindor # 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: debianlists@computing.mawan.de
# # # # # 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:
pgpQsXYZnYxsd.pgp
Description: PGP signature