Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #5026: Documentation for installing a relay server uses a group on... #67

Conversation

jooooooon
Copy link
Member

...ly available on RHEL/CentOS

chmod -R 1770 ${i}
for group in apache www-data www; do
if getent passwd ${i} > /dev/null; then chown -R root:${i} /var/rudder/inventories/incoming; break; fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be ${group} rather than ${i}, except for the path that should be ${i}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. Well noticed, thanks.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it shoule be getent group too, not passwd. I must have been tired...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR updated, please merge

ncharles added a commit that referenced this pull request Jun 15, 2014
…alling_a_relay_server_uses_a_group_only_available_on_rhel_centos

Fixes #5026: Documentation for installing a relay server uses a group on...
@ncharles ncharles merged commit 6c9e290 into Normation:branches/rudder/2.9 Jun 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants