Re: install command nit

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux