[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: setting permissions on config files
- From: Jeff Johnson <n3npq jbj gmail com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: setting permissions on config files
- Date: Tue, 5 Dec 2006 18:36:59 -0500
On Dec 5, 2006, at 6:21 PM, 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
What stops you from combining? This should "work"
%attr(0750,someuser,somegroup) %config(noreplace) %{_sysconfdir}/
theConfigFile
You do want all on one line, only 1 entry in %files per-path.
Are there additional options that can be passed to %config or
something
along those lines?
Other options to do what?
73 de Jeff
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]