TrigonicSolutions / gradle-rpm-plugin

Gradle plugin for constructing RPM packages.
Apache License 2.0
38 stars 19 forks source link

user and group name functionality #6

Open shabe opened 12 years ago

shabe commented 12 years ago

This is more of a feature request than a bug. I'd like the ability to change the group and user of a file that will be packaged into the RPM.

Currently you can change the fileMode but I cant see how to set the group or the user.

Thanks S

AlanKrueger commented 12 years ago

You should be able to do this:

user = 'foo'
group = 'bar'

I've done this personally at the root of the task, but this should also work at the filespec level.

This should probably be added to the README.

AlanKrueger commented 12 years ago

I note that this may collide with the 'group' at the RPM level. Hrm...