Quote:
Originally Posted by eschwartz
Of course.
Copied as root, huh.  Well, why did you restore them using sudo???
`cp` by default does not preserve ownership, in order to preserve ownership you should use `cp -rp` or `man cp`.
Honestly, I am surprised *anything* worked.
I *cannot* predict everything you might do. This ^^ was important infomation.  *
I assumed if you were restoring files from a backup you were recreating them as the current user. Why would you *want* to use the previous owner, it might not even be the same as the current owner... just a bad practice to get into.
Well, now you know for next time.
* -- Next time I help someone, I may just have to suggest a preliminary `sudo chown -R $(whoami): ~/.config/calibre && chmod -R u+rw ~/.config/calibre` on general principle. Thank you 
|
Well, ya wanna lambaste a noob, I am as good as any when it comes to linux.
-There was an attempt to restore config files from a Windows install.
- I had problems with permissions on my Netgear NAS writing and reading
- My first Linux Calibre was the package install, which I had to overwrite with the binary install
- I tend to use GUI whenever I can and if I can't do something with a file, the shortest distance to get it done is usually 'open as root'.
- GRSYNC seemed to also at times force me to use root permissions
Yes, I do learn by doing, and often I 'do' and things get screwed up. You can ask 'why' all day long and the best answer is: "It seemed like good idea at the time!"
Again, thanks for the help.
Monty