Hi GNUser
Rich, did you try my simple experiment in Reply #11? ...
Yes I did. Here's what the /etc directory looked like:
tc@HP-G62:~/test2$ tree -ug etc
etc
|-- [tc staff ] X11
| `-- [tc staff ] xorg.conf
|-- [tc staff ] firefox
| `-- [tc staff ] policies
| `-- [tc staff ] policies.json
|-- [root staff ] group
|-- [root staff ] gshadow
|-- [root staff ] passwd
|-- [root staff ] shadow
`-- [root root ] sudoers
3 directories, 7 filesThe etc directory was root:staff.
That was the only part of my backup that contained files owned
by me. This was true for both busybox and GNU sudo tar.
... Do you agree with patching filetool.sh as I proposed in Reply #7 to workaround this sneaky behavior inside of user's home directory? ...
What purpose does the question mark serve, or is it a typo:
if grep -Eq "^/?home/$USER" /opt/.filetool.lst; thenI'm a little leery about blindly changing owner:group settings on files.
I suspect owner might be OK.
Is it possible to break something if for example a files group was
changed from snd to staff?
Maybe some of the smart kids in the room could weigh in?