[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: setting permissions on config files
- From: Jason Bradley Nance <aitrus tresgeek net>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: setting permissions on config files
- Date: Tue, 05 Dec 2006 17:30:35 -0600
Ahh... Thank you (and the other replies). Didn't realize you could just
combine macros. =)
j
Luciano Miguel Ferreira Rocha wrote:
> On Tue, Dec 05, 2006 at 05:21:10PM -0600, Jason Bradley Nance wrote:
>> Hello,
>> I'm trying to figure out how to set specific permissions and
>> ownership on configuration files at install time. Basically, in my spec
>> file, I want to combine:
>>
>> %config(noreplace) %{_sysconfdir}/theConfigFile
>> %attr(0750,someuser,somegroup) %{_sysconfdir}/theConfigFile
>>
>> Are there additional options that can be passed to %config or something
>> along those lines?
>
> What's wrong with:
> %config(noreplace) %attr(0750,someuser,somegroup) %{_sysconfdir}/theConfigFile
>
> You can combine the options.
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list redhat com
> https://www.redhat.com/mailman/listinfo/rpm-list
>
> !DSPAM:500,4575ffc6289318872917312!
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]