selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Lautrbach <plautrba@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: selinux@vger.kernel.org
Subject: Re: [PATCH] restorecond: Install DBUS service file with 644 permissions
Date: Fri, 25 Jan 2019 15:05:07 +0100	[thread overview]
Message-ID: <pjdfttgu92k.fsf@redhat.com> (raw)
In-Reply-To: <cf455f73-f954-12c4-d1ee-19ce4e6a5499@tycho.nsa.gov> (Stephen Smalley's message of "Wed, 23 Jan 2019 09:19:37 -0500")

Stephen Smalley <sds@tycho.nsa.gov> writes:

> On 1/22/19 6:47 AM, Petr Lautrbach wrote:
>> The original 600 permissions make the service file unreadable for dbus daemon.
>>
>> Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1626462
>>
>> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
>
> Acked-by: Stephen Smalley <sds@tycho.nsa.gov>

Merged.

>> ---
>>   restorecond/Makefile | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/restorecond/Makefile b/restorecond/Makefile
>> index 8a0ada1f..6155ca4a 100644
>> --- a/restorecond/Makefile
>> +++ b/restorecond/Makefile
>> @@ -50,7 +50,7 @@ install: all
>>   	-mkdir -p $(DESTDIR)$(AUTOSTARTDIR)
>>   	install -m 644 restorecond.desktop $(DESTDIR)$(AUTOSTARTDIR)/restorecond.desktop
>>   	-mkdir -p $(DESTDIR)$(DBUSSERVICEDIR)
>> -	install -m 600 org.selinux.Restorecond.service  $(DESTDIR)$(DBUSSERVICEDIR)/org.selinux.Restorecond.service
>> +	install -m 644 org.selinux.Restorecond.service  $(DESTDIR)$(DBUSSERVICEDIR)/org.selinux.Restorecond.service
>>   	-mkdir -p $(DESTDIR)$(SYSTEMDDIR)/system
>>   	install -m 644 restorecond.service $(DESTDIR)$(SYSTEMDDIR)/system/
>>   relabel: install
>>

      reply	other threads:[~2019-01-25 14:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22 11:47 [PATCH] restorecond: Install DBUS service file with 644 permissions Petr Lautrbach
2019-01-23 14:19 ` Stephen Smalley
2019-01-25 14:05   ` Petr Lautrbach [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=pjdfttgu92k.fsf@redhat.com \
    --to=plautrba@redhat.com \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@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).