[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: install sets execution permissions on files
From: |
Gilles Espinasse |
Subject: |
Re: install sets execution permissions on files |
Date: |
Sat, 23 Jan 2010 14:46:52 +0100 |
----- Original Message -----
From: "Peter Volkov" <address@hidden>
To: <address@hidden>
Sent: Saturday, January 23, 2010 10:48 AM
Subject: install sets execution permissions on files
> Hi. I'm unsure if this is a bug but since I failed to find it documented
> anywhere or discussed on this mailing list here is the question:
>
> $ touch foo
> $ install foo bar
>
> install copies foo file to bar but it also _sets execution permissions_
> on bar. `info install` states:
>
> * If two file names are given, `install' copies the first file to the
> second.
>
> and nothing about permissions. So why install sets execution permissions
> on normal files? Should this be fixed on install or will you accept
> patch for documentation?
>
man install say
-m, --mode=MODE
set permission mode (as in chmod), instead of rwxr-xr-x
Gilles