Commit 1b20cc7d authored by Valery Sizov's avatar Valery Sizov

Merge branch 'no-recursive-install' into 'master'

Remove recursive commands from bin/install

It is not clear what we need these for anymore. Because these commands
would recurse once through all existing files in all Git repositories,
and then another time through all directories these commands could
take very long on a server with a lot of repositories.

We keep the 'chmod' on config.repos_path, to deny world access to all
files and directories beneath it.

See merge request !63
parents c2b324a9 1d7900b0
v2.5.4
- Remove recursive commands from bin/install
v2.5.3
- Improve git-annex integration
......
......@@ -15,8 +15,7 @@ commands = [
%W(chmod 700 #{key_dir}),
%W(touch #{config.auth_file}),
%W(chmod 600 #{config.auth_file}),
%W(chmod -R ug+rwX,o-rwx #{config.repos_path}),
%W(find #{config.repos_path} -type d -exec chmod g+s {} ;)
%W(chmod ug+rwX,o-rwx #{config.repos_path}),
]
commands.each do |cmd|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment