Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore build user umask #326

Closed
paulmenzel opened this issue Apr 25, 2019 · 2 comments
Closed

Ignore build user umask #326

paulmenzel opened this issue Apr 25, 2019 · 2 comments
Labels

Comments

@paulmenzel
Copy link

The pkg-config file /usr/local/lib/pkgconfig/libqpdf.pc seems to be installed with the umask of the build user.

$ umask
0007
$ wget --quiet https://github.com/qpdf/qpdf/releases/download/release-qpdf-8.4.0/qpdf-8.4.0.tar.gz
$ tar xf qpdf-8.4.0.tar.gz
$ cd qpdf-8.4.0/
$ ./configure --disable-check-autofiles --disable-static
$ make
$ sudo make install
$ ls -l /usr/local/lib/pkgconfig/libqpdf.pc
-rw-r----- 1 root root 246 Apr 25 16:49 /usr/local/lib/pkgconfig/libqpdf.pc

I have to check if there is a standard for that, but wanted to report it.

@paulmenzel
Copy link
Author

Hmm, the issue for GNU Automake says that files are supposed to be installed with install -m 755 and that the problem only exists for directories. So this issue seems different.

For the record:

$ automake --version
automake (GNU automake) 1.15
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.

@jberkenbilt
Copy link
Contributor

This is probably because my make install target just uses cp instead of, say, install. I don't use automake at all in qpdf. I can probably fix the installation to use install if available.

jberkenbilt added a commit to jberkenbilt/qpdf that referenced this issue Jun 22, 2019
jberkenbilt added a commit to jberkenbilt/qpdf that referenced this issue Jun 22, 2019
jberkenbilt added a commit to jberkenbilt/qpdf that referenced this issue Jun 22, 2019
jberkenbilt added a commit to jberkenbilt/qpdf that referenced this issue Jun 22, 2019
jberkenbilt added a commit to jberkenbilt/qpdf that referenced this issue Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants