cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Jan Pokorný <jpokorny@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH][fence-virt] Drop executable flag for man pages
Date: Tue, 4 Dec 2012 22:31:45 +0100	[thread overview]
Message-ID: <20121204213145.GA19550@redhat.com> (raw)
In-Reply-To: <50BE4D57.2040902@redhat.com>

On 04/12/12 14:21 -0500, Lon Hohberger wrote:
> On 11/27/2012 12:00 PM, Jan Pokorn? wrote:
>> Reported-by: rpmlint <http://rpmlint.zarb.org/cgi-bin/trac.cgi>
>> Signed-off-by: Jan Pokorn? <jpokorny@redhat.com>
>> ---
>>  man/Makefile.in | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>> 
>> diff --git a/man/Makefile.in b/man/Makefile.in
>> index 1fdde67..21dda33 100644
>> --- a/man/Makefile.in
>> +++ b/man/Makefile.in
>> @@ -21,11 +21,11 @@ install: all
>>  	if [ ! -d ${DESTDIR}/${mandir}/man8 ]; then \
>>  		install -d ${DESTDIR}/${mandir}/man8 ; \
>>  	fi
>> -	install -m755 ${MAN8} ${DESTDIR}/${mandir}/man8
>> +	install -m655 ${MAN8} ${DESTDIR}/${mandir}/man8
>>  	if [ ! -d ${DESTDIR}/${mandir}/man5 ]; then \
>>  		install -d ${DESTDIR}/${mandir}/man5 ; \
>>  	fi
>> -	install -m755 ${MAN5} ${DESTDIR}/${mandir}/man5
>> +	install -m655 ${MAN5} ${DESTDIR}/${mandir}/man5
>>  
>>  
>>  clean:
>> 
> 
> Should be 644, not 655.

Agreed; caused by paying too much attention to rpmlint check as opposed
to the case itself :)  Looks like the order of checks there would
deserve to be reversed.  But even in its current form, 655 would be
spotted.

I was to argue that 444 would be even saner (lvm2 and device-mapper do this
in RHEL, for example), but for some reason it seems non-standard to mark
something root-non-writeable (Debian:[1], Fedora:N/A).

[1] http://www.debian.org/doc/debian-policy/ch-files.html#s-permissions-owners

-- 
Jan



      reply	other threads:[~2012-12-04 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-27 17:00 [Cluster-devel] [PATCH][fence-virt] Drop executable flag for man pages Jan Pokorný
2012-12-04 19:21 ` Lon Hohberger
2012-12-04 21:31   ` Jan Pokorný [this message]

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=20121204213145.GA19550@redhat.com \
    --to=jpokorny@redhat.com \
    /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).