David Coppit
1d4b941873
Fix hard-coded user and group IDs
...
Thanks to dth202 for the fix here: https://github.com/coppit/docker-filebot/issues/17
2018-01-21 11:26:54 -05:00
David Coppit
c9e9c8b980
Don't create a user if one with user ID exists
...
Programs that do things like getting the home dir end up getting the home dir of the other user by accident.
Use an existing user if the user ID and group ID match. Error out if the group ID matches, or if there are multiple
users with the same user ID.
2017-08-26 12:03:05 -04:00
David Coppit
d0b25a4ed4
Improve the format of the timestamp
2017-04-01 23:17:28 -04:00
David Coppit
5a61aaee7d
Improve the format of the timestamp
2017-04-01 22:38:09 -04:00
David Coppit
6cfa84ee47
Add an eval for more flexibility
...
Can now provide a command argument like: "/bin/bash -c '/bin/sleep 5'"
2017-04-01 22:35:19 -04:00
David Coppit
33c19314b3
Fix octal check
2015-06-26 01:10:33 -04:00
David Coppit
dd981dc799
Add umask support
2015-06-26 01:08:53 -04:00
David Coppit
3888123dcd
Generate the user and group names
...
Also check if the the user already exists.
2015-06-26 00:19:25 -04:00
David Coppit
44f8af4a50
Split up the mapping of IDs from "runas".
...
Also have config files specify their user/group IDs for the commands.
2015-06-25 23:41:40 -04:00
David Coppit
9b917885c2
Create home dir for programs that need one
2015-06-24 13:36:15 -04:00
David Coppit
f75dd2f419
Fix arg processing bug
2015-06-24 13:08:38 -04:00
David Coppit
149c82a063
Cleanup and dxcumentation for new file ownership feature.
2015-06-24 12:45:44 -04:00
David Coppit
363054f126
Implement a "runas.sh" utility script for fixing ownership
2015-06-24 11:48:18 -04:00