Am Samstag, den 02.02.2019, 07:05 -0600 schrieb Richard Shaw:
> I noticed a warning on one of my packages that the appdata file was
> marked as executable. The source file is not, its 644, but I use the
> install command to install it to the metainfo directory.
> 
> Does "install" install files as executable by default or is something
> else going on here?
> 
> Adding -m 0644 fixed it but it shouldn't be necessary.


Quoting from `man install`:

> -m, --mode=MODE
>   set permission mode (as in chmod), instead of rwxr-xr-x

So the `install` command is supposed to set the file mode to 0755 by
default, if not explicitly required different.

Cheers,
  Björn

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to