How to copy permissions from one file to another on Linux

368

I need to copy or clone file ownership and permissions from another file on Linux without copying file itself. Is there a bash command line option to clone the user, group ownership and permissions on a file from another file on Linux operating system?

Read more…