Napaka pri ustvarjanju/speminjanju fajlov

Urban Purkat urban.purkat at hermes.si
Tue Sep 30 09:27:27 CEST 2003


Zivjo!

Mam eno tezavo, za katero sploh ne vem kako je nastala:
V dolocenem direktoriju (in vseh poddirektorijih) ne morem pisat v fajle.
Npr.: 
$ echo "test" > a.txt  
Rezultat je file a.txt ampak prazen.
Sem owner tega dira.

Ce pa to naredim kot root pa dela bp.

Evo tule je se copy/paste iz konzole (malo skrcen):
(malo bom komentiru z *)

urban at xxx$ ls -la
drwxr-xr-x    9 urban    users        4096 Sep 28 10:32 ./
drwxrwxr-x   15 urban    users        4096 Sep 14 12:53 ../
drwxr-xr-x    2 urban    users        4096 Aug 23 13:40 Design/
drwxr-xr-x    2 urban    users        4096 Aug 23 13:40 info/
drwxr-xr-x    2 urban    users        4096 Aug 23 13:40 tekst/
urban at xxx$ echo "test" > a.txt
*
*kreiran file a.txt, ampak prazen (glej spodaj)
*
urban at xxx$ ls -la
drwxr-xr-x    9 urban    users        4096 Sep 30 08:29 ./
drwxrwxr-x   15 urban    users        4096 Sep 14 12:53 ../
drwxr-xr-x    2 urban    users        4096 Aug 23 13:40 Design/
-rw-r--r--    1 urban    users           0 Sep 30 08:29 a.txt
drwxr-xr-x    2 urban    users        4096 Aug 23 13:40 info/
drwxr-xr-x    2 urban    users        4096 Aug 23 13:40 tekst/
urban at xxx$ su
Password:
root at xxx# echo "test" > b.txt
*
*kreiran file b.txt kot root (glej spodaj)
*
root at xxx# ls -la
drwxr-xr-x    9 urban    users        4096 Sep 30 08:31 .
drwxrwxr-x   15 urban    users        4096 Sep 14 12:53 ..
drwxr-xr-x    2 urban    users        4096 Aug 23 13:40 Design
-rw-r--r--    1 urban    users           0 Sep 30 08:29 a.txt
-rw-r--r--    1 root     root            5 Sep 30 08:31 b.txt
drwxr-xr-x    2 urban    users        4096 Aug 23 13:40 info
drwxr-xr-x    2 urban    users        4096 Aug 23 13:40 tekst

Any ideas what's wrong?

Lp, Urban




More information about the lugos-list mailing list