Chnorm is a simple command line utility for setting the owner, group, and the mode of given files and directories on a per file/per directory basis, recursively. It is especially useful if you often copy files with brain-dead permissions from filesystems not supporting the Unix permission scheme. It detects executables based on their contents and sets their permissions accordingly.