0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

EC-CUBE コマンドでパーミッション設定

0
Last updated at Posted at 2026-11-12

パーミッション設定

一般ディレクトリ 705

find /var/www/html/example.com -type d -exec chmod 705 {} +

一般ファイル 604

find /var/www/html/example.com -type f -exec chmod 604 {} +

以下ディレクトリ 707

chmod 707 /var/www/html/example.com/
chmod 707 /var/www/html/example.com/app/
chmod 707 /var/www/html/example.com/app/Plugin/
chmod 707 /var/www/html/example.com/app/PluginData/
chmod 707 /var/www/html/example.com/app/proxy/
chmod 707 /var/www/html/example.com/app/template/
chmod 707 /var/www/html/example.com/html/
chmod 707 /var/www/html/example.com/var/
chmod 707 /var/www/html/example.com/vendor/

以下ファイル 606

chmod 606 /var/www/html/example.com/composer.json
chmod 606 /var/www/html/example.com/composer.lock

以下ファイル 400

chmod 400 /var/www/html/example.com/.env
chmod 400 /var/www/html/example.com/.htaccess

確認

ls -l

参考記事

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?