Red Hat Bugzilla – Bug 967146
Bad assumptions in node code that openshift gears will have uid=gid
Last modified: 2015-05-14 19:11:58 EDT
Description of problem:
There is an assumption on node codebase that a gear's uid = gid.
This is highly dependent in system configuration and other packages that are installed.
Eg. On F19 default MIN_GRP=1000. default MIN_UID in node.conf is 500.
- When a gear is created
- UID = 500
= GID = 1000
- homedir permission assumes uid=500, gid=500
Version-Release number of selected component (if applicable):
Always on F19
Steps to Reproduce:
1. Start with F19 origin installation with default /etc/login.defs
2. Create a gear
gear permission are incorrect as they refer to incorrect gid
Node code should create a new group and use the correct GID when creating the user. Gear permission are correct