[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tex-common and lintian warnings



Frank Küster <frank@debian.org> wrote:

> By the way, what's the advantage of "install -m 644" compared to "cp"? 

With the former, it is obvious which perms the destination file will be
given: 644. With the latter, it depends on many things:
  - whether the destination file already exists (if yes, its perms are
    preserved);
  - the perms of the original file;
  - the umask;

When running 'cp <source> <dest>' and the <dest> file doesn't already
exist, the newly created file inherits the permissions of the source
file, except that they are ANDed with !umask.

-- 
Florent



Reply to: