How to copy file permissions from one to another chmod `stat -f %A srcFile` dstFile via Non Geek Recipes How to copy file permissions – nongeekrecipes.org.