On Sat, 2020-06-27 at 20:46 +0530, Mohankumar S wrote: > Hi > > I have a customized rpm which will be shared by different applications, > when I do a rpm install , I want to pass the app userid and groupid at > install time so that directories /files installed by rpm will be owned by > the app ids which I pass . > > The idea is to make it work on a single shot both installation and > permissions applying. > > Note : we have different ids owned by different applications > > Any suggestions on this will be helpful. I suspect that you are on the wrong list. There are lists dedicated to upstream rpm, and what you want is technically possible¹ with rpm (I think) so they might help you. This list is about packaging with rpm for use in Fedora, and how users/groups are assigned is a well defined process that does not need/want arbitrary ids passed at install time. ¹ Rpm is maybe not the right tool for the job though, as most people don't want to interact with the rpm cli directly in the way you suggest. _______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx