谁能把/var/cache的目录结构给我一份

为当前最终发行版之前的所有版本提供支持
回复
头像
magisu
帖子: 202
注册时间: 2005-12-31 21:23
送出感谢: 0
接收感谢: 0

谁能把/var/cache的目录结构给我一份

#1

帖子 magisu » 2007-04-08 18:21

不小心rm -r *了。谁给我一份?ls -aRd一下。
老子很生气,后果不严重。
头像
adqin
帖子: 1417
注册时间: 2007-01-24 22:07
来自: http://adqin.cn
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 adqin » 2007-04-08 18:27

adqin@adqin-ubuntu:~$ ls -l /var/cache
总用量 4
drwxr-xr-x 2 root root 216 2007-03-01 16:15 app-install
drwxr-xr-x 3 root root 136 2007-04-08 13:10 apt
drwxrwxr-x 3 cupsys lp 136 2007-03-29 03:09 cups
drwxr-xr-x 2 root root 216 2007-04-08 13:11 debconf
drwxr-xr-x 2 root root 272 2007-03-01 16:17 dictionaries-common
drwxr-xr-x 2 root root 4336 2007-04-08 12:06 fontconfig
drwxr-xr-x 3 root root 72 2007-03-01 16:08 gnome-system-tools
drwxr-xr-x 2 root root 48 2006-11-08 17:07 locate
drwxr-sr-x 16 man root 408 2007-04-08 11:38 man
drwxr-xr-x 2 root root 48 2006-11-27 23:39 pppconfig
drwxrwsr-t 2 root admin 168 2007-04-07 14:32 restricted-manager
drwxr-xr-x 3 root root 104 2007-04-08 18:24 samba
drwxr-xr-x 3 root root 112 2007-03-28 23:25 system-tools-backends
adqin@adqin-ubuntu:~$
lpmurder
帖子: 142
注册时间: 2007-02-06 18:57
来自: 中国茶都
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 lpmurder » 2007-04-09 10:31

总用量 44
drwxr-xr-x 2 root root 4096 2006-10-25 21:39 app-install
drwxr-xr-x 3 root root 4096 2007-04-09 10:23 apt
drwxr-xr-x 3 beagleindex nogroup 4096 2007-04-01 14:24 beagle
drwxrwxr-x 3 cupsys lp 4096 2007-03-24 09:22 cups
drwxr-xr-x 2 root root 4096 2007-04-07 19:56 debconf
drwxr-xr-x 2 root root 4096 2006-10-25 21:40 dictionaries-common
drwxr-xr-x 3 root root 4096 2006-10-25 21:30 gnome-system-tools
drwxr-xr-x 2 root root 4096 2006-06-30 08:59 locate
drwxr-sr-x 16 man root 4096 2007-04-09 10:21 man
drwxr-xr-x 2 root root 4096 2006-06-29 07:59 pppconfig
drwxr-xr-x 3 root root 4096 2007-03-30 14:43 system-tools-backends
头像
magisu
帖子: 202
注册时间: 2005-12-31 21:23
送出感谢: 0
接收感谢: 0

#4

帖子 magisu » 2007-04-12 10:20

thanks a lot!
老子很生气,后果不严重。
头像
stlxv
论坛版主
帖子: 8273
注册时间: 2006-05-03 0:39
来自: المريخ
送出感谢: 0
接收感谢: 1 次

#5

帖子 stlxv » 2007-04-12 11:51

代码: 全选

stlxv@stlxvcomputer:~$ ls /var/cache/ -l
总用量 64
drwxr-xr-x  3 www-data www-data 4096 2007-01-06 18:17 apache2
drwxr-xr-x  2 root     root     4096 2006-10-25 21:39 app-install
drwxr-xr-x  3 root     root     4096 2007-04-12 07:35 apt
drwxr-xr-x  2 root     root     4096 2007-04-12 07:35 apt-index-watcher
drwxrwxr-x  3 cupsys   lp       4096 2007-02-07 14:53 cups
drwxr-xr-x  2 root     root     4096 2007-04-08 11:10 debconf
drwxr-xr-x  3 root     root     4096 2006-10-28 17:50 debtags
drwxr-xr-x  2 root     root     4096 2006-10-25 21:40 dictionaries-common
drwxr-xr-x  2 root     root     4096 2007-02-17 19:07 flashplugin-nonfree-unpackdir
drwxr-xr-x  5 root     root     4096 2007-01-16 20:10 fonts
drwxr-xr-x  3 root     root     4096 2006-10-25 21:30 gnome-system-tools
drwxr-xr-x  2 root     root     4096 2006-06-30 08:59 locate
drwxr-sr-x 16 man      root     4096 2007-04-12 07:35 man
drwxr-xr-x  2 root     root     4096 2006-06-29 07:59 pppconfig
drwxr-xr-x  3 root     root     4096 2007-01-15 03:24 system-tools-backends
drwx------  2 tomcat5  adm      4096 2006-09-30 02:02 tomcat5.5
PHP是最好的语言!不服来战!
头像
stlxv
论坛版主
帖子: 8273
注册时间: 2006-05-03 0:39
来自: المريخ
送出感谢: 0
接收感谢: 1 次

#6

帖子 stlxv » 2007-04-12 11:51

代码: 全选

stlxv@stlxvcomputer:~$ find /var/cache
/var/cache
/var/cache/app-install
/var/cache/app-install/gai-mime-map.gdbm
/var/cache/app-install/menu.p
/var/cache/apt
/var/cache/apt/archives
/var/cache/apt/archives/partial
/var/cache/apt/archives/lock
/var/cache/apt/archives/gcolor2_0.4-2_i386.deb
/var/cache/apt/archives/kcoloredit_4%3a3.5.6-0ubuntu1~edgy1_i386.deb
/var/cache/apt/archives/nasm_0.98.38-1.2_i386.deb
/var/cache/apt/archives/libqdbm14_1.8.66-1_i386.deb
/var/cache/apt/archives/libqdbm2++c2_1.8.66-1_i386.deb
/var/cache/apt/archives/libqdbm-dev_1.8.66-1_i386.deb
/var/cache/apt/archives/libqdbm++-dev_1.8.66-1_i386.deb
/var/cache/apt/archives/libqdbm-java_1.8.66-1_i386.deb
/var/cache/apt/archives/qdbm-doc_1.8.66-1_all.deb
/var/cache/apt/archives/qdbm-util_1.8.66-1_i386.deb
/var/cache/apt/archives/3dchess_0.8.1-12_i386.deb
/var/cache/apt/archives/3ddesktop_0.2.9-5.1ubuntu1_i386.deb
/var/cache/apt/archives/libcdparanoia0_3.10+debian~pre0-4build1~edgy1_i386.deb
/var/cache/apt/archives/cdparanoia_3.10+debian~pre0-4build1~edgy1_i386.deb
/var/cache/apt/archives/cmake_2.4.6-0ubuntu1~edgy1_i386.deb
/var/cache/apt/archives/desktop-file-utils_0.12-0ubuntu2~edgy1_i386.deb
/var/cache/apt/archives/ethereal_0.99.4-6~edgy1_i386.deb
/var/cache/apt/archives/wireshark_0.99.4-6~edgy1_i386.deb
/var/cache/apt/archives/wireshark-common_0.99.4-6~edgy1_i386.deb
/var/cache/apt/pkgcache.bin
/var/cache/apt/srcpkgcache.bin
/var/cache/cups
/var/cache/cups/ppd
/var/cache/cups/remote.cache
/var/cache/cups/job.cache
/var/cache/cups/ppds.dat
/var/cache/debconf
/var/cache/debconf/config.dat
/var/cache/debconf/config.dat-old
/var/cache/debconf/passwords.dat
/var/cache/debconf/templates.dat
/var/cache/debconf/templates.dat-old
/var/cache/dictionaries-common
/var/cache/dictionaries-common/aspell.db
/var/cache/dictionaries-common/emacsen-ispell-default.el
/var/cache/dictionaries-common/emacsen-ispell-dicts.el
/var/cache/dictionaries-common/ispell.db
/var/cache/dictionaries-common/jed-ispell-dicts.sl
/var/cache/dictionaries-common/wordlist.db
/var/cache/gnome-system-tools
/var/cache/gnome-system-tools/backup
/var/cache/locate
/var/cache/man
/var/cache/man/X11R6
/var/cache/man/cat1
/var/cache/man/cat2
/var/cache/man/cat3
/var/cache/man/cat4
/var/cache/man/cat5
/var/cache/man/cat6
/var/cache/man/cat7
/var/cache/man/cat8
/var/cache/man/cat9
/var/cache/man/fsstnd
/var/cache/man/fsstnd/cat1
/var/cache/man/fsstnd/index.db
/var/cache/man/local
/var/cache/man/local/cat3
/var/cache/man/local/index.db
/var/cache/man/oldlocal
/var/cache/man/oldlocal/cat3
/var/cache/man/oldlocal/index.db
/var/cache/man/opt
/var/cache/man/index.db
/var/cache/pppconfig
/var/cache/system-tools-backends
/var/cache/system-tools-backends/detected-platform
/var/cache/system-tools-backends/backup
find: /var/cache/system-tools-backends/backup: Permission denied
/var/cache/apt-index-watcher
/var/cache/apt-index-watcher/pkgcache.bin
/var/cache/apt-index-watcher/srcpkgcache.bin
/var/cache/debtags
/var/cache/debtags/partial
/var/cache/apache2
/var/cache/apache2/proxy
/var/cache/tomcat5.5
find: /var/cache/tomcat5.5: Permission denied
/var/cache/fonts
/var/cache/fonts/source
/var/cache/fonts/source/jknappen
/var/cache/fonts/source/jknappen/ec
/var/cache/fonts/source/jknappen/ec/ecrm1000.mf
/var/cache/fonts/source/jknappen/ec/ecbx1000.mf
/var/cache/fonts/source/jknappen/ec/ecrm1728.mf
/var/cache/fonts/source/jknappen/ec/ecrm1200.mf
/var/cache/fonts/source/jknappen/ec/ecrm1440.mf
/var/cache/fonts/source/jknappen/ec/ecbx1440.mf
/var/cache/fonts/source/jknappen/ec/ecss1000.mf
/var/cache/fonts/source/jknappen/ec/ecrm0700.mf
/var/cache/fonts/source/jknappen/ec/ecrm0800.mf
/var/cache/fonts/source/jknappen/ec/ecrm0600.mf
/var/cache/fonts/source/jknappen/ec/ecti1000.mf
/var/cache/fonts/source/jknappen/ec/ectt1000.mf
/var/cache/fonts/source/jknappen/ec/ecrm0900.mf
/var/cache/fonts/source/jknappen/ec/eccc0900.mf
/var/cache/fonts/source/jknappen/ec/ecsl1000.mf
/var/cache/fonts/source/jknappen/ec/ecrm2488.mf
/var/cache/fonts/source/jknappen/ec/ecbx2488.mf
/var/cache/fonts/source/jknappen/ec/ecrm2074.mf
/var/cache/fonts/source/jknappen/ec/ecbx2074.mf
/var/cache/fonts/source/jknappen/ec/ectt1440.mf
/var/cache/fonts/source/jknappen/ec/ecbx1200.mf
/var/cache/fonts/source/jknappen/ec/ectt0800.mf
/var/cache/fonts/source/jknappen/ec/ecsx2488.mf
/var/cache/fonts/source/jknappen/ec/ecsi1000.mf
/var/cache/fonts/source/jknappen/ec/ecti0800.mf
/var/cache/fonts/source/jknappen/ec/eccc1000.mf
/var/cache/fonts/source/jknappen/ec/ecit1000.mf
/var/cache/fonts/source/jknappen/ec/eccc0800.mf
/var/cache/fonts/source/jknappen/ec/ecss0800.mf
/var/cache/fonts/source/jknappen/ec/ecti0600.mf
/var/cache/fonts/source/jknappen/ec/ecsx1200.mf
/var/cache/fonts/source/jknappen/ec/ectt0900.mf
/var/cache/fonts/source/jknappen/ec/ectt1200.mf
/var/cache/fonts/source/jknappen/ec/ecit0800.mf
/var/cache/fonts/source/jknappen/ec/ecsx1000.mf
/var/cache/fonts/pk
/var/cache/fonts/pk/ljfour
/var/cache/fonts/pk/ljfour/jknappen
/var/cache/fonts/pk/ljfour/jknappen/ec
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm1728.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm1200.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm1440.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecbx1440.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecss1000.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm0700.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm0800.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm0600.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecti1000.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ectt1000.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm1000.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm0900.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/eccc0900.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecsl1000.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm2488.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecbx2488.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecrm2074.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecbx2074.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ectt1440.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecbx1200.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ectt0800.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecsx2488.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecsi1000.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecti0800.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/eccc1000.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecit1000.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/eccc0800.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecss0800.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecti0600.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecsx1200.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ectt0900.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ectt1200.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecit0800.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecsx1000.600pk
/var/cache/fonts/pk/ljfour/jknappen/ec/ecbx1000.600pk
/var/cache/fonts/pk/ljfour/public
/var/cache/fonts/pk/ljfour/public/cm
/var/cache/fonts/pk/ljfour/public/cm/cmmi10.600pk
/var/cache/fonts/tfm
/var/cache/fonts/tfm/jknappen
/var/cache/fonts/tfm/jknappen/ec
/var/cache/fonts/tfm/jknappen/ec/ecrm1000.tfm
/var/cache/fonts/tfm/jknappen/ec/ecbx1000.tfm
/var/cache/fonts/tfm/jknappen/ec/ecrm1728.tfm
/var/cache/fonts/tfm/jknappen/ec/ecrm1200.tfm
/var/cache/fonts/tfm/jknappen/ec/ecrm1440.tfm
/var/cache/fonts/tfm/jknappen/ec/ecbx1440.tfm
/var/cache/fonts/tfm/jknappen/ec/ecss1000.tfm
/var/cache/fonts/tfm/jknappen/ec/ecrm0700.tfm
/var/cache/fonts/tfm/jknappen/ec/ecrm0800.tfm
/var/cache/fonts/tfm/jknappen/ec/ecrm0600.tfm
/var/cache/fonts/tfm/jknappen/ec/ecti1000.tfm
/var/cache/fonts/tfm/jknappen/ec/ectt1000.tfm
/var/cache/fonts/tfm/jknappen/ec/ecrm0900.tfm
/var/cache/fonts/tfm/jknappen/ec/eccc0900.tfm
/var/cache/fonts/tfm/jknappen/ec/ecsl1000.tfm
/var/cache/fonts/tfm/jknappen/ec/ecrm2488.tfm
/var/cache/fonts/tfm/jknappen/ec/ecbx2488.tfm
/var/cache/fonts/tfm/jknappen/ec/ecrm2074.tfm
/var/cache/fonts/tfm/jknappen/ec/ecbx2074.tfm
/var/cache/fonts/tfm/jknappen/ec/ectt1440.tfm
/var/cache/fonts/tfm/jknappen/ec/ecbx1200.tfm
/var/cache/fonts/tfm/jknappen/ec/ectt0800.tfm
/var/cache/fonts/tfm/jknappen/ec/ecsx2488.tfm
/var/cache/fonts/tfm/jknappen/ec/ecsi1000.tfm
/var/cache/fonts/tfm/jknappen/ec/ecti0800.tfm
/var/cache/fonts/tfm/jknappen/ec/eccc1000.tfm
/var/cache/fonts/tfm/jknappen/ec/ecit1000.tfm
/var/cache/fonts/tfm/jknappen/ec/eccc0800.tfm
/var/cache/fonts/tfm/jknappen/ec/ecss0800.tfm
/var/cache/fonts/tfm/jknappen/ec/ecti0600.tfm
/var/cache/fonts/tfm/jknappen/ec/ecsx1200.tfm
/var/cache/fonts/tfm/jknappen/ec/ectt0900.tfm
/var/cache/fonts/tfm/jknappen/ec/ectt1200.tfm
/var/cache/fonts/tfm/jknappen/ec/ecit0800.tfm
/var/cache/fonts/tfm/jknappen/ec/ecsx1000.tfm
/var/cache/fonts/ls-R
/var/cache/flashplugin-nonfree-unpackdir
/var/cache/flashplugin-nonfree-unpackdir/install_flash_player_9_linux.tar.gz
PHP是最好的语言!不服来战!
头像
stlxv
论坛版主
帖子: 8273
注册时间: 2006-05-03 0:39
来自: المريخ
送出感谢: 0
接收感谢: 1 次

#7

帖子 stlxv » 2007-04-12 11:52

代码: 全选

stlxv@stlxvcomputer:~$ find /var/cache -type d
/var/cache
/var/cache/app-install
/var/cache/apt
/var/cache/apt/archives
/var/cache/apt/archives/partial
/var/cache/cups
/var/cache/cups/ppd
/var/cache/debconf
/var/cache/dictionaries-common
/var/cache/gnome-system-tools
/var/cache/gnome-system-tools/backup
/var/cache/locate
/var/cache/man
/var/cache/man/X11R6
/var/cache/man/cat1
/var/cache/man/cat2
/var/cache/man/cat3
/var/cache/man/cat4
/var/cache/man/cat5
/var/cache/man/cat6
/var/cache/man/cat7
/var/cache/man/cat8
/var/cache/man/cat9
/var/cache/man/fsstnd
/var/cache/man/fsstnd/cat1
/var/cache/man/local
/var/cache/man/local/cat3
/var/cache/man/oldlocal
/var/cache/man/oldlocal/cat3
/var/cache/man/opt
/var/cache/pppconfig
/var/cache/system-tools-backends
/var/cache/system-tools-backends/backup
find: /var/cache/system-tools-backends/backup: Permission denied
/var/cache/apt-index-watcher
/var/cache/debtags
/var/cache/debtags/partial
/var/cache/apache2
/var/cache/apache2/proxy
/var/cache/tomcat5.5
find: /var/cache/tomcat5.5: Permission denied
/var/cache/fonts
/var/cache/fonts/source
/var/cache/fonts/source/jknappen
/var/cache/fonts/source/jknappen/ec
/var/cache/fonts/pk
/var/cache/fonts/pk/ljfour
/var/cache/fonts/pk/ljfour/jknappen
/var/cache/fonts/pk/ljfour/jknappen/ec
/var/cache/fonts/pk/ljfour/public
/var/cache/fonts/pk/ljfour/public/cm
/var/cache/fonts/tfm
/var/cache/fonts/tfm/jknappen
/var/cache/fonts/tfm/jknappen/ec
/var/cache/flashplugin-nonfree-unpackdir
PHP是最好的语言!不服来战!
头像
skyx
论坛版主
帖子: 9203
注册时间: 2006-12-23 13:46
来自: Azores Islands
送出感谢: 0
接收感谢: 1 次
联系:

#8

帖子 skyx » 2007-04-12 11:53

楼上打个包发上来得了
no security measure is worth anything if an attacker has physical access to the machine
头像
stlxv
论坛版主
帖子: 8273
注册时间: 2006-05-03 0:39
来自: المريخ
送出感谢: 0
接收感谢: 1 次

#9

帖子 stlxv » 2007-04-12 12:02

skyx 写了:楼上打个包发上来得了
要我把什么打包发什么?
PHP是最好的语言!不服来战!
雕啸长空
帖子: 1897
注册时间: 2006-09-12 14:09
送出感谢: 0
接收感谢: 0

#10

帖子 雕啸长空 » 2007-04-12 12:13

stlxv 写了:
skyx 写了:楼上打个包发上来得了
要我把什么打包发什么?
写个脚本自动建立上面所有目录,再把脚本打包上传,哈哈
Fair winds and following seas !
回复

回到 “老旧版本支持”