[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: small.tgz その後(こんどこそ解決?)
はたの です。
ポカ続きです・・・。
ここまでの「うまくいきました」話は全部忘れてください(^^;)。
ファイル管理が悪くて、オリジナルを新しいものと混乱していたようです。
で、解決しました。
今まで
オリジナルから
# find . -print > filelist
した filelist から 「中間ディレクトリの行を削除」して、
# tar zcvfT new.tgz filelist
していたのですが、これがまずかったようです。
これだと、その中間ディレクトリが(リストに存在しないので)
アーカイブに保存されずに、
展開するときに自動的に mkdir されてしまうんですね。
だから、みな root/wheel 所有の mode 777 だったようです。
それで、
オリジナルから
find . -print > filelist
したものに手を加えず、
# tar zcnvfT new.tgz filelist
しましたら、以下のとおりになりました。
(今度はファイル間違えてません^^;)
tar ztvf new.tgz | grep ^d
drwxr-xr-x root/wheel 0 Mar 30 06:59 2000 ./
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./altroot/
drwxr-xr-x root/wheel 0 Mar 30 06:57 2000 ./bin/
drwxr-xr-x root/wheel 0 Mar 30 06:57 2000 ./dev/
drwxr-xr-x root/wheel 0 Mar 15 05:31 2000 ./dev/fd/
drwxr-xr-x root/wheel 0 Mar 30 06:57 2000 ./etc/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/disklabels/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/kerberosIV/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/kerberosV/
drwxr-xr-x root/wheel 0 Mar 12 21:14 2000 ./etc/mtree/
drwxr-xr-x root/wheel 0 Mar 15 05:31 2000 ./etc/namedb/
drwxr-xr-x root/wheel 0 Mar 30 06:57 2000 ./etc/openssl/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/openssl/cert.pem/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/openssl/certs/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/openssl/misc/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/openssl/private/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/skel/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/sliphome/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./etc/uucp/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./home/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./mnt/
drwxr-xr-x root/wheel 0 Mar 15 05:31 2000 ./root/
drwxr-xr-x root/wheel 0 Mar 30 06:57 2000 ./sbin/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./stand/
drwxrwxrwt root/wheel 0 Mar 8 21:45 2000 ./tmp/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/bin/
drwxr-xr-x root/wheel 0 Mar 30 06:57 2000 ./usr/games/
drwxr-x--- root/games 0 Mar 15 05:22 2000 ./usr/games/hide/
drwxr-xr-x root/wheel 0 Mar 30 06:57 2000 ./usr/lib/
drwxr-xr-x root/wheel 0 Mar 30 06:57 2000 ./usr/libdata/
drwxr-xr-x root/wheel 0 Mar 15 01:25 2000 ./usr/libdata/lint/
drwxr-xr-x root/wheel 0 Mar 30 06:57 2000 ./usr/libexec/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./usr/lkm/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./usr/mdec/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/sbin/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/
drwxr-xr-x root/wheel 0 Mar 9 15:23 2000 ./usr/share/ldscripts/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/lkm/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/lkm/misc/
drwxr-xr-x root/wheel 0 Mar 15 05:18 2000 ./usr/share/lkm/misc/module/
drwxr-xr-x root/wheel 0 Mar 15 05:18 2000 ./usr/share/lkm/misc/test/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/lkm/syscall/
drwxr-xr-x root/wheel 0 Mar 15 05:18 2000 ./usr/share/lkm/syscall/mod
ule/
drwxr-xr-x root/wheel 0 Mar 15 05:18 2000 ./usr/share/lkm/syscall/tes
t/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/lkm/vfs/
drwxr-xr-x root/wheel 0 Mar 15 05:18 2000 ./usr/share/lkm/vfs/module/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/misc/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/skel/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/vi/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/vi/catalog/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Africa/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Americ
a/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Americ
a/Indiana/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Antarc
tica/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Arctic/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Asia/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Atlant
ic/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Austra
lia/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Brazil/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Canada/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Chile/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Etc/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Europe/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Indian/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Mexico/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Mideas
t/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/Pacifi
c/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/System
V/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./usr/share/zoneinfo/US/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./var/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/account/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./var/at/
drwx------ root/wheel 0 Mar 8 21:45 2000 ./var/at/jobs/
drwx------ root/wheel 0 Mar 8 21:45 2000 ./var/at/spool/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/backups/
drwxrwx--- root/wheel 0 Mar 15 05:31 2000 ./var/crash/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./var/cron/
drwx------ root/wheel 0 Mar 15 05:31 2000 ./var/cron/tabs/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./var/db/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/db/ns/
drwxrwxr-x games/games 0 Mar 30 06:56 2000 ./var/games/
drwxrwxr-x games/games 0 Mar 30 06:56 2000 ./var/games/hackdir/
drwxrwx--- games/games 0 Mar 8 21:45 2000 ./var/games/hackdir/save/
drwxrwxr-x games/games 0 Mar 15 05:31 2000 ./var/games/larn/
drwxrwxr-x games/games 0 Mar 15 05:21 2000 ./var/games/phantasia/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/krb5kdc/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./var/log/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/log/rdist/
drwxrwxrwt root/wheel 0 Mar 8 21:45 2000 ./var/mail/
drwxr-xr-x daemon/wheel 0 Mar 15 05:31 2000 ./var/msgs/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/preserve/
drwxr-x--- root/operator 0 Mar 8 21:45 2000 ./var/quotas/
drwxr-xr-x root/wheel 0 Mar 15 05:31 2000 ./var/run/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/rwho/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./var/spool/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./var/spool/ftp/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/spool/ftp/bin/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/spool/ftp/etc/
d--x--x--x root/wheel 0 Mar 8 21:45 2000 ./var/spool/ftp/hidden/
drwxr-xr-x uucp/daemon 0 Mar 8 21:45 2000 ./var/spool/lock/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/spool/lpd/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/spool/mqueue/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/spool/output/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./var/spool/postfix/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/spool/postfix/etc/
drwxrwxrwx root/wheel 0 Mar 8 21:45 2000 ./var/spool/sockets/
drwxr-xr-x uucp/daemon 0 Mar 8 21:45 2000 ./var/spool/uucp/
drwxrwxrwt uucp/daemon 0 Mar 8 21:45 2000 ./var/spool/uucppublic/
drwxrwxrwt root/wheel 0 Mar 30 06:56 2000 ./var/tmp/
drwxrwxrwt root/wheel 0 Mar 8 21:45 2000 ./var/tmp/vi.recover/
drwxr-xr-x root/wheel 0 Mar 30 06:56 2000 ./var/yp/
drwxr-xr-x root/wheel 0 Mar 8 21:45 2000 ./var/yp/binding/
n オプションがポイントだったのですね。
# あ、
# > drwxr-xr-x root/wheel 0 Mar 30 06:59 2000 ./
# 行は、よろしくないのかな?
お騒がせしました。
今晩中には、これで再インストールしてみます。
では。
D.HATANO
wave@ann.hi-ho.ne.jp
PocketBSD/hpcmips 初心者コース
http://www.ann.hi-ho.ne.jp/wave/pbsd_hpcmips/