gitlab-org--gitlab-foss/spec
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
..
controllers Extend the commit calendar to show the actual commits for a date 2015-03-18 08:42:42 +01:00
factories Added comment notification events to HipChat and Slack services. 2015-03-06 06:54:00 -08:00
features Merge branch 'atom-xhtml-squashed' into 'master' 2015-03-17 08:38:38 +00:00
finders Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
fixtures Add trailing newline to all text files. 2014-06-21 11:20:22 +02:00
helpers Use project_member instead of team_member. 2015-03-15 13:50:38 +01:00
javascripts Add trailing newline to all text files. 2014-06-21 11:20:22 +02:00
lib Fix cross references when usernames, milestones, or project names contain underscores. 2015-03-19 07:07:30 -07:00
mailers replace images in emails with inline images 2015-03-12 09:26:06 +01:00
models Link to CI with ref 2015-03-20 19:19:29 +02:00
requests/api Enforce restricted visibilities for snippets 2015-03-08 17:57:08 -06:00
routing Use project_member instead of team_member. 2015-03-15 13:50:38 +01:00
services Extend push_tag event to include tag message and last commit 2015-03-21 11:25:27 +01:00
support This MR extends the commit calendar so it searches for commits made with every email address the user has associated with his account. 2015-03-09 21:43:54 -07:00
tasks/gitlab Change permissions on backup files 2015-03-17 19:04:21 -06:00
workers Prevent gitlab-shell character encoding issues by receiving its changes as raw data. 2015-03-15 16:52:22 +01:00
factories.rb Remove unneeded password_confirmation from seed. 2014-12-28 14:42:15 +01:00
factories_spec.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
spec_helper.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00