LoginSignup
0
0

ディレクトリ以下の一括パーミッション変更コマンド

Last updated at Posted at 2024-04-10

一括でファイル、ディレクトリのパーミッションを変更するコマンドです。
ファイルとディレクトリのパーミッションを分ける際に使用します。

# 現在のディレクトリ以下のファイルのみを [664] に変更
find . -type f -print | xargs chmod 664
# 現在のディレクトリ以下のディレクトリのみを [755] に変更
find . -type d -print | xargs chmod 775
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