User management in FPM

131 views
Skip to first unread message

Ed Kohlwey

unread,
May 16, 2013, 3:41:00 PM5/16/13
to fpm-...@googlegroups.com
Adding the --rpm-user or --rpm-group options will make it so that your package adds a user and makes the package contents owned by that user or group.

If I would only like a few directories owned by said user, how do I do that (or can I do that)?

Pranay Kanwar

unread,
Jul 30, 2013, 5:59:37 AM7/30/13
to fpm-...@googlegroups.com
If you have predefined permissions on the files as you intend in the package you can use the --rpm-use-file-permissions flag.
Otherwise you can pass --edit flag to edit the spec and update/set the permissions on the specific directories. Another hack people
usually do is set the permissions via post install scripts.

-pk
Reply all
Reply to author
Forward
0 new messages