Question : linux copy directory permissions to another directory
Answered by : alemhar-salihuddin
chown --reference=otherfile thisfile
chmod --reference=otherfile thisfile
Source : https://unix.stackexchange.com/questions/20645/clone-ownership-and-permissions-from-another-file | Last Update : Fri, 17 Jul 20