diff options
-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") |