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

Re: Can't create users and groups



Hi,

You really shouldn't be making users during build. Package build needs to succeed as non-root. Try not 'checking' the build and just making. You can add a user in %pre, and in your %files section do a defatter that sets the right ownership on the files.
Would you be so kind to be more specific ?
I've tried the %pre section, but it didn't create the groups and the users.

The %pre section is before the %prep, right ?

The make setup already needs the users and groups to exist.

Best Regards
--
:wq! Mário Gamito


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