Personal tools
You are here: Home diary? Marshall's atxml.rng ,'rb+').read() fails if not a+rw or owned by zope user, breaks plone sites(2006-08-08)
Document Actions

Marshall's atxml.rng ,'rb+').read() fails if not a+rw or owned by zope user, breaks plone sites(2006-08-08)

by saka last modified 2006-08-09 01:13

これだった

私だけ?? Marshall's atxml.rng ,'rb+').read() fails if not a+rw or owned by zope user, breaks plone sites % cd /usr/share/zope/Products/Marshall/validation/atxml % ls -lah 合計 20K drwxr-xr-x 2 root root 4.0K 2006-08-09 06:43 ./ drwxr-xr-x 3 root root 4.0K 2006-08-09 06:43 ../ -rw-r--r-- 1 root root 1.7K 2006-07-31 05:55 atxml.rnc -rw-r--r-- 1 root root 4.1K 2006-07-31 05:55 atxml.rng % sudo chmod 666 atxml.rn* % sudo /etc/init.d/zope2.9 restart やっとaddドロップダウンリストに Plone site が表示された…svnで持ってきて手でやってもDebian(sid)パッケージでも同じだ。 うーむ、やっとData.fsをコピーしてみるか、道は長いな。 追記:バージョンとか忘れてた: Ploneバージョン概要 Plone 2.5, Zope (Zope 2.9.4-final, python 2.4.4, linux2), Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58) [GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)], PIL 1.1.5 うーむ、データの移行はうまくいかないな、どうしたものか。 現状(2006/08/08現在)のDebian sidで Plone-site パッケージをインストールしてもaddドロップダウンリストに Plone site は表示されなかった、ちなみにplone-site 2.5-1、zope-cmfplone 2.5-1だ。 上記のパーミッションの修正を行ってzopeをリスタートすると使えるようになった。 でもさ、みんなPlone2.5は結構簡単に使えてるみたいだよね?????なんで??

644?

Posted by Anonymous User at 2006-08-09 16:04

nyusukeです。

私はpython 2.4.3, zope 2.9.4, plone 2.5で、全部手動で入れています。

それで当該ファイルを見てみると、パーミッションはrwxr--r--でした。あれ、744だ…。

うむむ

Posted by saka at 2006-08-09 21:03
svn co https://svn.plone.org/svn/plone/bundles/2.5/ 2.5 したものでやってみていたのですが、やはり:
-rw-r--r-- 1 hoge fuga 1.7K 2006-08-07 17:24 atxml.rnc
-rw-r--r-- 1 hoge fuga 4.1K 2006-08-07 17:24 atxml.rng
みたいです。なんか間違っていますかね??Debianパッケージも同様だなあ。
あ!リンク先を再度見てみるとatxml.rngだけの修正でよかったみたいですね両方とも666にしていました。

Data.fsを入れてみたのですが、今までのように簡単にいかなさげ…セキュリティ関係のエラー?acl_usersわけわかだ。

今まで適当にアップグレードしてきたのでportal_atct、portal_migrationの詳しい手順を調べないと動かせそうになさげです。

Changing ownership

Posted by saka at 2006-08-09 21:18
これってだいたい全体をroot:rootじゃなくてzope:zopeにするのが(Debianでは?)正解なのかな?まあとりあえず今はいいけど。

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: