Hello,
I have a data file “animator.inf”. Now, because warning of rpmlint, I moved this from bin directory to …
first I get an FHS 2.2 problem with some paths…
now I get an world wide writing problem.
I want not disable rpmlint warn and so:
Where I place an datafile for my <package>, if modify is allow for all users?
Is {_usr}/share/<package> a good place? When yes, why 666 not allowed for user rights?
Thx
Hello,
I have a data file “animator.inf”. Now, because warning of rpmlint, I
moved this from bin directory to …
first I get an FHS 2.2 problem with some paths…
now I get an world wide writing problem.
I want not disable rpmlint warn and so:
Where I place an datafile for my <package>, if modify is allow for
all users?
Is {_usr}/share/<package> a good place? When yes, why 666 not allowed
for user rights?
Thx
Hi
It’s not {_usr}/share/<package> but %{_datadir}/<package> you can the
use the %attr against the file to alter permissions and ownership
(suggest users) eg;
%attr(0666,root,users) %{_datadir}//<package>/animator.inf
If it’s a config file then you may want to use %config(noreplace) as
well?
–
Cheers Malcolm °¿° (Linux Counter #276890 )
openSUSE 11.3 (x86_64) Kernel 2.6.34.4-0.1-default
up 12:58, 2 users, load average: 0.44, 0.22, 0.08
GPU GeForce 8600 GTS Silent - Driver Version: 256.53