Re: A best-practice question

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

 



For me, it is better to setting the file mode in the %install section
, for the ownership in general could suffices a defattr in the %file
section ( setting the ownership in the %install section could you
require root or similar privilege , not a good think ). This in
general. Also in some situation could be useful to generate the %attr
and friends recipe always in the %install section, putting these defs
in a file and using %file -f file.

It is a matter of taste.

Best

2012/11/26, Eran Ben Natan <eranb@xxxxxxxxxxxx>:
> Hello,
>
>
>
> From your experience, is it better to set files owner and mode in the
> install part, using the install command, or in the files part with
> %attr?
>
>
>
> Eran.
>
>

-- 
Inviato dal mio dispositivo mobile
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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