I am creating an RPM spec file with a %files section that specifies ownership of the included files. I am trying to specify the user and group as follows:
...
%attr (755, DOMAIN\\user, "DOMAIN\\domain users") /opt/whatever
...
The user seems to work but the space in the group name causes the syntax check to fail on rpmbuild. This link seems to suggest that standard globbing rules apply and that spaces must exist within double quotes but this doesn't seem to fix the problem. Any ideas?
%attrentry is%attr(mode,user,group), you seem to be missing a comma. Or is that a copy/paste error? - fge%attr. Looks like a limitation. - fge