I am building RPMs using FPM. When using the --rpm-user and --rpm-group, I notice as advertised that in the specfile that the %defattr(-,user,group,-) is set under %files.
This does indeed set the user and group settings of files, but how do i set the directory user & group?
--directoryflag for FPM solve the problem? See github.com/jordansissel/fpm/blob/master/CHANGELIST and github.com/jordansissel/fpm/pull/260 – Lars Rohrbach Nov 15 '12 at 6:49