projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c318829
)
Fix ownership/perms for created union/linkfiles source dirs.
author
Tails developers
<amnesia@boum.org>
Mon, 19 Mar 2012 22:06:13 +0000
(23:06 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Thu, 5 Apr 2012 05:48:50 +0000
(07:48 +0200)
scripts/live-helpers
patch
|
blob
|
history
diff --git
a/scripts/live-helpers
b/scripts/live-helpers
index
4be7d9d
..
7eb45e9
100644
(file)
--- a/
scripts/live-helpers
+++ b/
scripts/live-helpers
@@
-1406,6
+1406,8
@@
activate_custom_mounts ()
# unions and don't need to be bootstrapped
# linkfiles dirs can't be bootstrapped in a sensible way
mkdir "${source}"
+ chown --reference "${dest}" "${source}"
+ chmod --reference "${dest}" "${source}"
else
# ensure that $dest is not copied *into* $source
mkdir -p "$(dirname ${source})"