Commit fca396c4 by Robert LeBlanc Committed by Stéphane Graber

Caps are getting lost when cloning an LXC. Adding the -X parameter copies the…

Caps are getting lost when cloning an LXC. Adding the -X parameter copies the extended attributes. This allows things like ping to continue to be used by a non-privilged user in Debian at least.
parent 0d75484a
......@@ -98,7 +98,7 @@ static int do_rsync(const char *src, const char *dest)
s[l-2] = '/';
s[l-1] = '\0';
execlp("rsync", "rsync", "-aH", s, dest, (char *)NULL);
execlp("rsync", "rsync", "-aHX", s, dest, (char *)NULL);
exit(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment