[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FDclone-users:00037] Re: 再びアーカイブブラウザ



 しらいです。

In Message-Id <20020902231542H.can@seagreen.ocn.ne.jp>
        KAMADA Satoru <can@seagreen.ocn.ne.jp>さんwrites:
> 鎌田@北海道留萌市です。

> アーカイブ内の -rw-r--r-- root root なファイルが一般ユーザーでも root でも
> 読めないのですが、これは仕様なのでしょうか。もっぱら FDclone をアーカイブブ
> ラウザとして使用している身としてはちょっと不便に感じるのです。

 え?普通に読めますけど。どういう環境で、どういうエラーメッ
セージが出ているんでしょうか?tar は GNU tar ですか?OS は何
ですか?
 もしくは、その読めないという archive を送って下さい。中身
に支障があるのかも知れません。

 私のところで -rw-r--r-- root root な file を archive にし
てみたものを添付しますので、これが読めるかどうかも確認してみ
て下さい。
 うちの環境では、当然 root でも一般ユーザでも読めています。
余り古いものは調べていませんが、FD-1.03 series でも問題なく
読めるようです。

# 中身の test[1-3].txt には、それぞれ「This is a test?.txt」
#と 4 行ずつ書かれています。

                                               しらい たかし

Submitted-by: shirai@pon
Archive-name: test.tar.gz/part01

---- Cut Here and feed the following to sh ----
#!/bin/sh
# This is test.tar.gz, a shell archive (produced by GNU sharutils 4.2)
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2002-09-03 13:27 JST by <shirai@pon>.
# Source directory was `/home/shirai/tmp'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#    169 -rw-r--r-- test.tar.gz
#
echo=echo
if mkdir _sh11299; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= test.tar.gz ==============
if test -f 'test.tar.gz' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'test.tar.gz' '(file already exists)'
else
  $echo 'x -' extracting 'test.tar.gz' '(binary)'
  sed 's/^X//' << 'SHAR_EOF' | uudecode &&
begin 600 test.tar.gz
M'XL("`XZ=#T``W1E<W0N=&%R`.W3L0V#,!"%86JF>!-$QN>S%\D"%)&2FBLR
M?FQ$"A!%K`A,\3XA&5W%R?SVF&RXV=NZXP"((:"<@-N<V>`=D%3424B2WZ$:
MM<.!GT2+^_,U(3\C[/LG]/_,6N]#=<K-^2OU'Y;^$_L_P[IAO]-UW:SU/E2G
BW)Q<JO\X]Y\B^S_#NF'9Z;INUGH?(B+ZS0<Z.[B^`!```+IA
`
end
SHAR_EOF
  chmod 0644 'test.tar.gz' ||
  $echo 'restore of' 'test.tar.gz' 'failed'
  shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'test.tar.gz'`"
  test 169 -eq "$shar_count" ||
  $echo 'test.tar.gz:' 'original size' '169,' 'current size' "$shar_count!"
fi
rm -fr _sh11299
exit 0