Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lyz
backupninja
Commits
788e82b5
Commit
788e82b5
authored
16 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
dup: set secure permissions on tmpdir when creating it
parent
bc8d8172
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-2
2 additions, 2 deletions
ChangeLog
handlers/dup.in
+1
-0
1 addition, 0 deletions
handlers/dup.in
with
3 additions
and
2 deletions
ChangeLog
+
2
−
2
View file @
788e82b5
...
...
@@ -21,8 +21,8 @@ version 0.9.6 -- unreleased
new syntax.
. Support every duplicity-supported transport with new configuration
option desturl (Closes: #483712, #346040, Trac#2).
.
Actually allow to backup only VServers, by relaxing $include tes
t.
.
Actually allow to backup only VServers, by relaxing $include test.
. Set secure permissions on tmpdir when creating i
t.
ldap:
. support HDB backend just as the BDB one, and make message clearer
when no supported backend is found (Closes: #476910)
...
...
This diff is collapsed.
Click to expand it.
handlers/dup.in
+
1
−
0
View file @
788e82b5
...
...
@@ -166,6 +166,7 @@ if [ -n "$tmpdir" ]; then
info
"Temporary directory (
$tmpdir
) does not exist, creating it."
mkdir
-p
"
$tmpdir
"
[
$?
-eq
0
]
||
fatal
"Could not create temporary directory (
$tmpdir
)."
chmod
0700
"
$tmpdir
"
fi
info
"Using
$tmpdir
as TMPDIR"
precmd
=
"
${
precmd
}
TMPDIR=
$tmpdir
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment