Action disabled: index
オープンソースの販売サイト構築ソフト EC-CUBE についてのメモ。

サーバ移行の小技

パーミッション関連

主に PHP モジュール版同士での移行で使用する。

ファイル管理用ユーザの整合
# find eccube -user 501 -print0 | xargs -0 chown -h <ユーザ名>
# find eccube -group 501 -print0 | xargs -0 chown -h :<グループ名>

残確認
# find eccube -nouser
# find eccube -nogroup

パーミッション統一

確認
$ find www.nta-shop.com ! -user webfiles
$ find www.nta-shop.com ! -group webfiles
$ find www.nta-shop.com ! -type f ! -type d
実行
$ find eccube -type f -print0 | xargs -0 chmod 644
$ find eccube -type d -print0 | xargs -0 chmod 755
tips/サーバ移行.txt · 最終更新: 2011/09/20 20:20 by seasoft
© 2008-2024 Seasoft.