Einzelnen Beitrag anzeigen

Benutzerbild von H4ndy
H4ndy

Registriert seit: 28. Jun 2003
Ort: Chemnitz
515 Beiträge
 
Delphi XE3 Professional
 
#5

Re: Linux: Besitzer einer Datei ermitteln

  Alt 17. Mär 2009, 14:42
Du könntest auch die Ausgabe von "ls -l" parsen.
Spuckt dann sowas hier aus:
Code:
insgesamt 44
-rw------- 1 root root 10849 2009-03-17 14:33 .bash_history
-rw-r--r-- 1 root root   19 2007-10-11 10:57 .bash_profile
drwxr-xr-x 2 root root 4096 2006-04-23 03:51 bin
-rw-r--r-- 1 root root 1332 2005-11-23 17:06 .exrc
drwx------ 2 root root 4096 2007-09-29 23:24 .gnupg
-rw-r--r-- 1 root root  541 2009-01-23 14:19 .htoprc
drwxr-xr-x 3 root root 4096 2009-02-04 19:37 .mc
-rw------- 1 root root  760 2007-10-11 10:52 .viminfo
drwxr-xr-x 2 root root 4096 2007-10-09 17:50 .wapi
Manuel
  Mit Zitat antworten Zitat