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

Backup: handle the case when Dom0 user's home has root-owned files #492

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

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 13 Mar 2012 09:28 UTC
It is very likely that at least .bash_history is ownen by root in Dom0 user's home, because of frequent use of sudo bash...

Probably the best way to handle this is to run copying as sudo root.

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

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by aga on 23 Apr 2012 18:10 UTC
Moving to core.

Member

marmarek commented Mar 8, 2015

Comment by aga on 23 Apr 2012 18:10 UTC
Moving to core.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 28 Apr 2012 01:16 UTC
Perhaps better idea is to chown all files in user home to this user? I've just checked a few machines and all non-user (mostly root) owned files was by mistake (or erroneously left from sudo sth).
This will prevent similar problem on restore.

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 28 Apr 2012 01:16 UTC
Perhaps better idea is to chown all files in user home to this user? I've just checked a few machines and all non-user (mostly root) owned files was by mistake (or erroneously left from sudo sth).
This will prevent similar problem on restore.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 30 Apr 2012 12:28 UTC
Sounds fine.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 30 Apr 2012 12:28 UTC
Sounds fine.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 1 May 2012 00:23 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 1 May 2012 00:23 UTC

@marmarek marmarek assigned marmarek and unassigned rootkovska Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment

@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