Re: setting permissions on config files

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

 



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.


-- 
lfr
0/0

Attachment: pgpsxpvMI3h4g.pgp
Description: PGP signature

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux