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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aurélien
backupninja
Commits
56e2f27e
Commit
56e2f27e
authored
Aug 13, 2006
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
Fixed stat to use --format instead of --printf to be compatible with coreutils
parent
28338e91
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
src/backupninja.in
+1
-1
1 addition, 1 deletion
src/backupninja.in
with
3 additions
and
1 deletion
ChangeLog
+
2
−
0
View file @
56e2f27e
...
...
@@ -11,6 +11,8 @@ version 0.9.4 -- unreleased
. When determining which backup actions to make, find now follows
symlinks for $configdirectory
. Changed order of -s to mail for compatibility
. fixed permission stat call so it uses the --format supported by
coreutils (Closes: #382747)
handler changes
Added tar handler:
. create tarballs
...
...
This diff is collapsed.
Click to expand it.
src/backupninja.in
+
1
−
1
View file @
56e2f27e
...
...
@@ -132,7 +132,7 @@ function msg {
function
check_perms
()
{
local
file
=
$1
local
perms
perms
=(
$(
stat
-L
--
printf
=
'%a %g %G %u %U'
$file
)
)
perms
=(
$(
stat
-L
--
format
=
'%a %g %G %u %U'
$file
)
)
local
gperm
=
${
perms
[0]
:1:1
}
local
wperm
=
${
perms
[0]
:2:1
}
local
gid
=
${
perms
[1]
}
...
...
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