Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
51a95712
Commit
51a95712
authored
Jan 15, 2020
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-20205 mysql_install_db shouldn't execute chown
Make chown error non-fatal. Just print a warning.
parent
9d18b624
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/mysql_install_db.sh
scripts/mysql_install_db.sh
+3
-3
No files found.
scripts/mysql_install_db.sh
View file @
51a95712
...
@@ -487,7 +487,7 @@ then
...
@@ -487,7 +487,7 @@ then
if
test
$?
-ne
0
if
test
$?
-ne
0
then
then
echo
"Couldn't set an owner to '
$pamtooldir
/auth_pam_tool_dir/auth_pam_tool'."
echo
"Couldn't set an owner to '
$pamtooldir
/auth_pam_tool_dir/auth_pam_tool'."
echo
"
It must be root, the PAM authentication plugin doesn't work otherwise.."
echo
"It must be root, the PAM authentication plugin doesn't work otherwise.."
echo
echo
fi
fi
fi
fi
...
@@ -496,8 +496,8 @@ then
...
@@ -496,8 +496,8 @@ then
if
test
$?
-ne
0
if
test
$?
-ne
0
then
then
echo
"Cannot change ownership of the '
$pamtooldir
/auth_pam_tool_dir' directory"
echo
"Cannot change ownership of the '
$pamtooldir
/auth_pam_tool_dir' directory"
echo
"
to the '
$user
' user. Check that you have the necessary permissions and try again."
echo
"to the '
$user
' user. Check that you have the necessary permissions and try again."
e
xit
1
e
cho
fi
fi
args
=
"
$args
--user=
$user
"
args
=
"
$args
--user=
$user
"
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment