gitlab-org--gitlab-foss/lib
Dmitriy Zaporozhets aadd38dbb9 Merge branch 'backup-permissions' into 'master'
Change permissions on backup files - #2

Use more restrictive permissions for backup tar files and for the db, uploads, and repositories directories inside the tar files.  See #1894.  Now the backup task recursively `chmod`s the `db/`, `uploads/`, and `repositories/` folders with 0700 permissions, and the tar file is created as 0600.

This is a followup to !1703, which was reverted because it broke Rspec tests.  The test failures were due to the rake task changing directories and not changing back, which I fixed with this commit.

cc @sytse

See merge request !1716
2015-03-21 23:50:20 +00:00
..
api Merge branch 'fix-restricted-visibility' into 'master' 2015-03-16 17:49:46 +00:00
assets
backup Merge branch 'backup-permissions' into 'master' 2015-03-21 23:50:20 +00:00
gitlab Extend push_tag event to include tag message and last commit 2015-03-21 11:25:27 +01:00
redcarpet/render Merge branch 'atom-xhtml-squashed' into 'master' 2015-03-17 08:38:38 +00:00
support Fix typo 2015-03-14 10:22:06 +01:00
tasks Merge branch 'bugfix/block_ldap_users_cronjob' into 'master' 2015-03-19 21:09:25 +00:00
disable_email_interceptor.rb Add email interceptor to prevent mail sending if email sending is disabled. 2014-10-27 13:05:50 +01:00
email_validator.rb More rubocop rules enable 2015-02-02 21:31:03 -08:00
event_filter.rb Add parenthesis to function def with arguments. 2014-10-03 09:18:46 +02:00
extracts_path.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
file_size_validator.rb
gt_one_coercion.rb diff unfold 2014-08-14 15:48:14 +04:00
repository_cache.rb Fix RepositoryCache backend attr_reader 2015-01-30 10:17:55 -05:00
static_model.rb
unfold_form.rb diff unfold 2014-08-14 15:48:14 +04:00