New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not break symlinks in dom0 home backup #840

Closed
marmarek opened this Issue Mar 8, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by marmarek on 1 May 2014 03:26 UTC
Currently all relative symlinks have target "current" directory replaced by "dom0-home". This is caused by this line:

tar
(...)
'--xform', 's:^[% filename["subdir"](^/]:%s\\0:'),

which canonicalize file names. The problem is that option affect also link targets, not only stored file names.

Migrated-From: https://wiki.qubes-os.org/ticket/840

@marmarek marmarek added this to the Release 2 milestone Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 13 May 2014 00:36 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 13 May 2014 00:36 UTC

@marmarek marmarek self-assigned this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 13 May 2014 01:20 UTC
http://git.qubes-os.org/?p=marmarek/core-admin.git;a=commit;h=39496bf65a1666ca4d8315cdaa2901b81b64f8f4
Not ideal but greatly limit damage (now breaks only relative links pointing at directory named same as dom0 user).

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 13 May 2014 01:20 UTC
http://git.qubes-os.org/?p=marmarek/core-admin.git;a=commit;h=39496bf65a1666ca4d8315cdaa2901b81b64f8f4
Not ideal but greatly limit damage (now breaks only relative links pointing at directory named same as dom0 user).

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment