Skip to content

Instantly share code, notes, and snippets.

@naokazuterada
Last active August 5, 2016 06:07
Show Gist options
  • Save naokazuterada/925425cd388abd876c914de95441a8ce to your computer and use it in GitHub Desktop.
Save naokazuterada/925425cd388abd876c914de95441a8ce to your computer and use it in GitHub Desktop.
あるディレクトリ以下のファイルの権限を一括変更

あるディレクトリ以下のファイルの権限を一括変更

chmod -R a=rX,u+w path/to/dir

ディレクトリまたは実行可能ファイルが 755 に、それ以外が 644 になります。

引用元

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment