Copy directory with permission setting

cp -rp /path/to/directory
click the source code to copy