Skip to content

Commit c8ec032

Browse files
committed
Merge pull request #13 from TelekomLabs/permission
root should be owner of mysql config
2 parents db24454 + 4cdf30f commit c8ec032

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Gemfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
# encoding: utf-8
2+
13
source 'https://rubygems.org'
24

35
gem 'rake'
46
gem 'serverspec'
5-
gem 'rubocop', '~> 0.23'
7+
gem 'rubocop', '~> 0.23'

default/serverspec/mysql_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@
213213
end
214214

215215
describe file(mysql_config_file) do
216-
it { should be_owned_by 'mysql' }
217-
it { should be_grouped_into 'mysql' }
216+
it { should be_owned_by 'root' }
217+
it { should be_grouped_into 'root' }
218218
it { should_not be_readable.by('others') }
219219
end
220220

0 commit comments

Comments
 (0)