Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
3806bec3
Commit
3806bec3
authored
Aug 19, 2018
by
Alan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASP: set safe defaults for disable_and_create_empty_persistence_conf_file
Will-fix:
#15802
parent
fc2fd631
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
config/chroot_local-includes/usr/local/sbin/live-persist
config/chroot_local-includes/usr/local/sbin/live-persist
+5
-0
No files found.
config/chroot_local-includes/usr/local/sbin/live-persist
View file @
3806bec3
...
...
@@ -260,6 +260,11 @@ disable_and_create_empty_persistence_conf_file ()
local
conf
=
"
$1
"
local
mode
=
"
$2
"
if
[
-z
"
$mode
"
]
then
mode
=
0600
fi
mv
"
$conf
"
"
${
conf
}
.insecure_disabled"
\
||
error
"Failed to disable '
$conf
':
$?
"
create_empty_persistence_conf_file
"
$conf
"
"
$mode
"
...
...
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