How to clone ownership or permissions from another file?
Change owner to match existing file
chown --reference=existing_file this_file
Channge permissions to match exisiting file
chmod --reference=existing_file this_file
Change owner to match existing file
chown --reference=existing_file this_file
Channge permissions to match exisiting file
chmod --reference=existing_file this_file