Project

General

Profile

Actions

User story #3584

closed

Document how to allow users different from root to commit in the configuration repository

Added by Nicolas PERRON over 11 years ago. Updated about 1 year ago.

Status:
Rejected
Priority:
3
Assignee:
-
Category:
Documentation
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Rudder have a git repository in /var/rudder/configuration-repository and commit in it with the user root. It seems that each time Rudder commit in it, any other user can't commit or push.

Update: if you need to let user commit, a workaround is available in http://www.rudder-project.org/redmine/issues/3584#note-3.

Actions #1

Updated by Nicolas CHARLES over 11 years ago

I confirm, after a modification in the webapp, the /var/rudder/configuration-repository/.git/index file gets it's permissions changed

Actions #2

Updated by Nicolas CHARLES over 11 years ago

The permissions of the files is the same as the one of the generated promises : root:root 640

Actions #3

Updated by Vincent MEMBRÉ over 11 years ago

When Rudder makes a commit, Rudder commits as root, It seems that when root user make a commit, the .git/index file user and group are changed to root:root

(It's the same for the config file when using git config or files directly when using git add)

A workaround is to run those commands :

git config core.sharedRepository group # don't use the umask of the git index, but allow users from the group to make commit
chgrp myGroup /var/rudder/configuration-repository -R 
chmod g+rw /var/rudder/configuration-repository -R
chmod g+s `find /var/rudder/configuration-repository -type d`

This will put the group of /var/rudder/configuration-repository on all files (new or already existing) of that directory

Is this really a bug of Rudder? Do we really want to not change the group of configuration-repository ? or this is a user specific problem (and should be correctly documented (FAQ, doc ...)

If that's what we want this can be fixed in two places (not the chgrp command):

  • In Rudder installation script
  • In system techniques ? maybe in a special bundle of common only applied by the root server.
Actions #4

Updated by Vincent MEMBRÉ over 11 years ago

  • Category set to Documentation
  • Priority changed from N/A to 1 (highest)
  • Target version set to 2.4.6

As a first approach, we will consider this as a user specific behavior and will only document if for now.

Actions #5

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.4.6 to 2.4.7
Actions #6

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.4.7 to 2.4.8
Actions #7

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.8 to 2.4.9
Actions #8

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.9 to 2.4.10
Actions #9

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.10 to 2.4.11
Actions #10

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.11 to 2.4.12
Actions #11

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.12 to 2.4.13
Actions #12

Updated by Vincent MEMBRÉ almost 11 years ago

  • Target version changed from 2.4.13 to 2.6.11

Since 2.4 is not maintained anymore, retargeting to branch 2.6

Actions #13

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.6.11 to 2.6.12
Actions #14

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.6.12 to 2.6.13
Actions #15

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.6.13 to 2.6.14
Actions #16

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.6.14 to 2.6.16
Actions #17

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.6.16 to 2.6.17
Actions #18

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.6.17 to 2.6.18
Actions #19

Updated by Matthieu CERDA about 10 years ago

  • Target version changed from 2.6.18 to 2.6.19
Actions #20

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.6.19 to 2.6.20
Actions #21

Updated by François ARMAND almost 10 years ago

  • Description updated (diff)
  • Priority changed from 1 (highest) to 3
  • Target version changed from 2.6.20 to 2.10.10
Actions #22

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.10 to 2.10.11
Actions #23

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.11 to 2.10.12
Actions #24

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.12 to 2.10.13
Actions #25

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.13 to 2.10.14
Actions #26

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.14 to 2.10.15
Actions #27

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.15 to 2.10.16
Actions #28

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.16 to 2.10.17
Actions #29

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.17 to 2.10.18
Actions #30

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.18 to 2.10.19
Actions #31

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.19 to 2.10.20
Actions #32

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.10.20 to 2.11.18
Actions #33

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #34

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #35

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #36

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #37

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #38

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #39

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.24 to 308
Actions #40

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 308 to 3.1.14
Actions #41

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #42

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #43

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #44

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #45

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #46

Updated by Benoît PECCATTE over 7 years ago

  • Tracker changed from Bug to User story
  • Subject changed from The commits of Rudder in the git repository '/var/rudder/configuration-repository/ ' seems to prevent users different from root to commit to Allow users different from root to commit in the git repository '/var/rudder/configuration-repository/ '

It has always work like this, so this is a feature request.

Actions #47

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #48

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #49

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #50

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #51

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #52

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #53

Updated by Benoît PECCATTE about 7 years ago

  • Target version changed from 3.1.25 to 4.1.9
Actions #54

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.9 to 4.1.10
Actions #55

Updated by Alexis Mousset almost 7 years ago

  • Subject changed from Allow users different from root to commit in the git repository '/var/rudder/configuration-repository/ ' to Document how to allow users different from root to commit in the configuration repository
Actions #56

Updated by Benoît PECCATTE almost 7 years ago

  • Target version changed from 4.1.10 to Ideas (not version specific)
Actions #57

Updated by Alexis Mousset about 1 year ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF