Re: Ownership not set correct on files ?

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

 



Brian Ipsen wrote:
> %attr(0644,root,qmail) %config(noreplace) %{qdir}/control/badmailfrom
> %attr(0644,root,qmail) %config(noreplace) %{qdir}/control/badmailto
> 
> among other ... But when checking the ownership of the files after
> installation (and using e.g. Midnight Commander tp look inside the RPM), all
> files and folders seems to be owned by root/root ...

That would imply to me that the group 'qmail' does not exist on the
system.  Does this work?

  touch foo
  chgrp root:qmail foo

If not then rpm won't be able to set the permissions either and will
fall back to using root:root.

If you must have a particular group and it is not standard on the
system then the usual thing is to use groupadd to create it in the
preinstall script before rpm unpacks the files.

Bob

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/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