Shammer's Philosophy

My private adversaria

GoogleDrive permission change

Goals

I want to see html files in GoogleDrive via local apache. But GoogleDrive files default permission is 600. I want to change these files permission, but chmod -R 755 doesn't work fine.

Resolution

  1. cd $GoogleDriveWebContentsDirectory
  2. find . | xargs chmod 755

I have more than 2000 files. I am at a loss to execute chmod per files when I discovered chmod -R option does not work fine.