Take the 2-minute tour ×

I use a RPM spec which contains lines very similar to the following:

%attr(0666,root,root) %config /etc/myapp/myconfig.ini

The problem I encounter if someone installs an update of the RPM is that the access mode of /etc/myapp/myconfig.ini is wrong:

ur@test1:~> ls -l /etc/myapp/myconfig.ini
---------- 1 daemon root 1207 2012-10-29 17:16 /etc/myapp/myconfig.ini

So the application can't access it any longer. What did I do wrong?

share|improve this question
There is something else going on here i.e some post script or some app initialization script is doing something with your configuration script. I suspect that from different users in ls output (daemon, root) and not (root, root). –  useratuniv Oct 31 '12 at 8:14
@rakesh.pandit: Thank you for your comment. Will investigate further, but currently I have other work to do. –  ur. Nov 29 '12 at 15:42
add comment


Your Answer



Browse other questions tagged or ask your own question.