[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: setting permissions on config files




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]