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

[debian-users:44969] ACL, cp, tetex, while woody -> sarge dist-upgrade



้ฃ›็”ฐใงใ™ใ€‚

ไธ€ๆ˜จๆ—ฅใ‹ใ‚‰ๆ˜จๆ—ฅใซใ‹ใ‘ใฆใƒซใƒผใ‚ฟใซใ—ใฆใ„ใ‚‹ PII 266 ใชใƒžใ‚ทใƒณใ‚’ใ‚„ใฃใจ woody
(kernel-2.4.18) ใ‹ใ‚‰ sarge ใธ dist-upgrade ใ—ใพใ—ใŸใ€‚็พๅœจใ€็„กไบ‹
kernel-2.6.8 ใงๅ‹•ใ„ใฆใ„ใพใ™ใ€‚

ใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆใซๅพ“ใ„ใ€aptitude -f --with-recommends dist-upgrade ใ—ใŸใฎใง
ใ™ใŒใ€tetex ้–ข้€ฃใŒๅผ•ใฃใ‹ใ‹ใฃใฆใ—ใพใ„ใ€่‹ฆๆˆฆใ—ใพใ—ใŸใ€‚

ใ“ใ‘ใŸๆ™‚ใซๅ‡บใ‚‹ใƒกใƒƒใ‚ปใƒผใ‚ธใ‚’่ฟฝใฃใฆ่กŒใใจใ€ใฉใ†ใ‚„ใ‚‰ update-texmf ใฎๅฎŸ่กŒๆ™‚ใซ
> cp: preserving permission for `/tmp/tmp.hOgE/[...]': Operation not supported
ใจใ„ใ†ใ‚ˆใ†ใช็‰ฉใŒๅ‡บใฆใ„ใ‚‹ไบ‹ใŒๅˆ†ใ‹ใ‚Šใพใ—ใŸใ€‚

;; ใ™ใ‚“ใพใ›ใ‚“ใ€‚not supported ใ ใฃใŸใ‹ not permitted ใ ใฃใŸใ‹ใฏใฃใใ‚Š่ฆš
;; ใˆใฆใพใ›ใ‚“ใ€‚

ใชใœใใ†ใชใฃใŸใฎใ‹ใจใ„ใ†ใจใ€XFS ไธŠใง ACL ใŒ่จญๅฎšใ—ใฆใ‚ใ‚Š(*)ใ€
tetex-bin.postinst ใ‹ใ‚‰ๅ‘ผใฐใ‚Œใ‚‹ update-texmf ใฎ 88่กŒ็›ฎใฎ `cp -a [...]'
ใฎ้ƒจๅˆ†ใงใ“ใ‘ใฆใ„ใŸใ‚ˆใ†ใงใ™ใ€‚

;; (*) ่จ˜ๆ†ถใซใชใ„ใฎใงใ™ใŒ ^^;; ACL ใซ่ˆˆๅ‘ณใ‚’ๆŒใฃใฆใ„ใ‚ใ„ใ‚ใ„ใ˜ใฃใŸๅฏ่ƒฝๆ€ง
;;     ใฏใ‚ใ‚Šใพใ™ใ€‚ls -l ใ™ใ‚‹ใจ็ขบใ‹ใซ -rw-r--r--+ ใจใ„ใ†ใ‚ˆใ†ใซใชใฃใฆใ„
;;     ใŸใฎใงใ™ใŒใ€`ใ‚ใ‚Œใ€ใ“ใ‚Œใ€ใชใ‚“ใ ใฃใ‘.. ใ‚ใจใง่ชฟในใ‚‹ใ‹..' ใชใฉใจ่€ƒ
;;     ใˆใฆใ„ใŸๆœ‰ใ‚Šๆง˜ใงใ™ใ€‚

<-- /usr/sbin/update-texmf L86 -->
# now copy the file with historical md5sums into TMPDIR, 
# invoke ucf, and then remove the suggested texmf.cnf.
cp -a ${MD5SUMS} ${TMPTXMF}.md5sum.d
ucf --debconf-ok --three-way ${TMPTXMF} ${TXMF}/texmf.cnf
if [ $DEBUG = true ]; then
  echo
  echo -n "Keeping temporary file ${TMPTXMF} ... "
else
  rm -r ${TMPDIR}
fi
<-- /usr/sbin/update-texmf -->


cf. http://www.vanemery.com/Linux/ACL/linux-acl.html#cp-mv
    http://www.linux.or.jp/JM/html/acl/man5/acl.5.html

ใใฎๆ™‚ใฏไธŠ่จ˜ๆ–‡ๆ›ธใ‚’ๆŽขใ™ไฝ™่ฃ•ใ‚‚ใชใใ€ๅ–ใ‚Šๆ•ขใˆใšใ€

--- update-texmf.orig	2005-10-26 12:51:18.924387948 +0900
+++ update-texmf	2005-10-26 12:52:51.174063434 +0900
@@ -85,7 +85,8 @@
 
 # now copy the file with historical md5sums into TMPDIR, 
 # invoke ucf, and then remove the suggested texmf.cnf.
-cp -a ${MD5SUMS} ${TMPTXMF}.md5sum.d
+mkdir ${TMPTXMF}.md5sum.d
+cp -a ${MD5SUMS}/* ${TMPTXMF}.md5sum.d
 ucf --debconf-ok --three-way ${TMPTXMF} ${TXMF}/texmf.cnf
 if [ $DEBUG = true ]; then
   echo

ใฎใ‚ˆใ†ใซใ—ใฆ้€ƒใ’ใŸใฎใงใ™ใŒใ€ๆœฌๆฅใ€ACL ใŒใคใ„ใฆใ‚‹ๅ ดๅˆใฎ cp ใฃใฆใฉใ†ใ™ใ‚‹
ใฎใŒ่‰ฏใ„ใฎใงใ—ใ‚‡ใ†ใ‹?

;; ใชใœใ“ใ‚Œใง้€ƒใ’ใ‚‰ใ‚ŒใŸใฎใ‹ใ€ใจใ‹ๅ…จ็„ถๅˆ†ใ‹ใฃใฆใพใ›ใ‚“ใ€‚

-- 
  Shinichiro HIDA  shinichiro@xxxxxxxxxxxxx
  GPG fingerprint = 5F2D 1656 FFF6 F691 A51C  5E61 E416 D398 470C 1CE9