diff options
author | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-04-02 14:42:53 +0200 |
---|---|---|
committer | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-04-02 14:42:53 +0200 |
commit | f56dff3435cda1e96021af9b72f532c4dc133e9c (patch) | |
tree | 6bccb76295691c0fca69d676cfcda2e8f0257a3c | |
parent | c764b3d13c3d3ce6fb4bf4e9c7601890b60e6b44 (diff) |
Add prepare ownership script as step to the 'install' part of the script as well. Update INSTALL with some relevant info.
-rw-r--r-- | INSTALL | 10 | ||||
-rwxr-xr-x | scripts/rhodecode-setup | 3 |
2 files changed, 13 insertions, 0 deletions
@@ -283,6 +283,16 @@ To enable LDAP: http://packages.python.org/RhodeCode/setup.html#setting-up-ldap-support + * To support ACL with SSH keys for public repositories you will need to + enable rhodecode group to have system groupadd and groupmod privileges. + In order to enable this type: + + sudo visudo + + And under the "# User alias specification" add the following line: + + %rhodecode ALL=(ALL) NOPASSWD: /usr/sbin/groupadd, /usr/sbin/groupmod, /usr/bin/gpasswd, /usr/bin/change-repo-ownership + Configuration ============= diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup index 0013356..8356f08 100755 --- a/scripts/rhodecode-setup +++ b/scripts/rhodecode-setup @@ -892,6 +892,9 @@ if __name__ == '__main__': enable_apache_sites(os.path.basename(apache_conf)) reload_apache_service() + # Prepare chown script. + prepare_chown_script(args.rhodecode_usr, args.repos_dir) + # Install upstart scripts for Celery and RhodeCode install_upstart_conf(args.no_celery) start_service("rhodecode") |