Skip to content

Instantly share code, notes, and snippets.

@setoh2000
Created June 23, 2012 19:36
Show Gist options
  • Save setoh2000/2979659 to your computer and use it in GitHub Desktop.
Save setoh2000/2979659 to your computer and use it in GitHub Desktop.
USB経由でソースコピーしたらファイルの属性が変わってたのでこれで修正 (Mac)
# カレントディレクトリ以下のファイルは644, ディレクトリは755に統一
# (パーミッションを削る方向で)
find . -type f -print0 | xargs -0 chmod go-wx
find . -type f -print0 | xargs -0 chmod u-x
find . -type d -print0 | xargs -0 chmod go-w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment