What is the standard practice for %defattr in spec files when packaging RPMS?
I am packaging a bunch of software using RPM.
Is it a good idea to specifically use '755' (which are the permissions I want for my software on my system) as opposed to '-' in the %defattr section of the spec files?
I am asking because I had '-', but I got 700 for some of my installed packages as opposed to the 755 I was expecting. Thus, I am under the impression that explicitly stating the permission is more reliable. What do you think ?
|