[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: setting permissions on config files
- From: Jos Vos <jos xos nl>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: setting permissions on config files
- Date: Wed, 6 Dec 2006 00:26:14 +0100
On Tue, Dec 05, 2006 at 05:21:10PM -0600, Jason Bradley Nance wrote:
> 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?
%config(noreplace) %attr(0750,someuser,somegroup) %{_sysconfdir}/theConfigFile
should work, AFAIK. Just put them on the same line.
--
-- Jos Vos <jos xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]