Change the permission of file or directory

$ chmod file_path

Copy permissions from existing file or directory

$ chmod --reference file_path file_path