From: Dan McGee <dan@archlinux.org>
To: linux-sparse@vger.kernel.org
Subject: 'make install' target issues
Date: Tue, 27 Oct 2009 19:37:45 -0500 [thread overview]
Message-ID: <449c10960910271737s4acf67dfsf29daf25fed9b53b@mail.gmail.com> (raw)
I was updating the PKGBUILD for sparse for Arch Linux in the AUR
tonight (http://aur.archlinux.org/packages.php?ID=11999), and I
noticed something odd- all files were getting installed with 755
permissions, including headers, .a libraries, etc. It looks like the
following commit is the offender:
commit bb54f9a83eaa7c683e292a90fdfeebb54381c313
Author: Christopher Li <sparse@chrisli.org>
Date: Fri Dec 26 01:37:01 2008 -0800
Subject: Clean up Makefile long lines
Is there something I am missing? By default, the install program
installs all files with rwxr-xr-x. I'd be happy to submit a patch to
fix this.
-Dan
$ tar tvf /home/makepkg/packages/sparse-0.4.2-1-x86_64.pkg.tar.gz
-rw-r--r-- root/root 477 2009-10-27 19:37 .PKGINFO
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/include/
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/share/
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/lib/
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/bin/
-rwxr-xr-x root/root 279776 2009-10-27 19:37 usr/bin/sparse
-rwxr-xr-x root/root 217280 2009-10-27 19:37 usr/bin/c2xml
-rwxr-xr-x root/root 9475 2009-10-27 19:37 usr/bin/cgcc
-rwxr-xr-x root/root 584320 2009-10-27 19:37 usr/lib/libsparse.a
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/lib/pkgconfig/
-rwxr-xr-x root/root 167 2009-10-27 19:37 usr/lib/pkgconfig/sparse.pc
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/share/licenses/
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/share/man/
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/share/man/man1/
-rwxr-xr-x root/root 3401 2009-10-27 19:37 usr/share/man/man1/sparse.1.gz
-rwxr-xr-x root/root 565 2009-10-27 19:37 usr/share/man/man1/cgcc.1.gz
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/share/licenses/sparse/
-rw-r--r-- root/root 11013 2009-10-27 19:37
usr/share/licenses/sparse/LICENSE
drwxr-xr-x root/root 0 2009-10-27 19:37 usr/include/sparse/
-rwxr-xr-x root/root 768 2009-10-27 19:37 usr/include/sparse/dissect.h
-rwxr-xr-x root/root 8771 2009-10-27 19:37 usr/include/sparse/ptrlist.h
-rwxr-xr-x root/root 1749 2009-10-27 19:37 usr/include/sparse/storage.h
-rwxr-xr-x root/root 2269 2009-10-27 19:37 usr/include/sparse/allocate.h
-rwxr-xr-x root/root 1392 2009-10-27 19:37 usr/include/sparse/flow.h
-rwxr-xr-x root/root 713 2009-10-27 19:37 usr/include/sparse/compat.h
-rwxr-xr-x root/root 3521 2009-10-27 19:37 usr/include/sparse/ident-list.h
-rwxr-xr-x root/root 1436 2009-10-27 19:37 usr/include/sparse/bitmap.h
-rwxr-xr-x root/root 7065 2009-10-27 19:37 usr/include/sparse/linearize.h
-rwxr-xr-x root/root 993 2009-10-27 19:37 usr/include/sparse/target.h
-rwxr-xr-x root/root 5273 2009-10-27 19:37 usr/include/sparse/expression.h
-rwxr-xr-x root/root 951 2009-10-27 19:37 usr/include/sparse/scope.h
-rwxr-xr-x root/root 10363 2009-10-27 19:37 usr/include/sparse/symbol.h
-rwxr-xr-x root/root 6005 2009-10-27 19:37 usr/include/sparse/lib.h
-rwxr-xr-x root/root 3555 2009-10-27 19:37 usr/include/sparse/parse.h
-rwxr-xr-x root/root 4934 2009-10-27 19:37 usr/include/sparse/token.h
next reply other threads:[~2009-10-28 0:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 0:37 Dan McGee [this message]
2009-10-28 0:46 ` [PATCH] Makefile: fix permissions mixup on install Dan McGee
2009-10-28 4:05 ` Christopher Li
2009-10-28 3:04 ` 'make install' target issues Christopher Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=449c10960910271737s4acf67dfsf29daf25fed9b53b@mail.gmail.com \
--to=dan@archlinux.org \
--cc=linux-sparse@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).