After Back Up ?

Asked by Rich.b

OS. Ubuntu 16.04 8 Gb Ram Home built PC only 12months old

Back Finished.

Could not back up the following files.

/home/richard/.config/enchant
/home/richard/.dbus
/home/richard/.gvfs

Please make sure you are able to open them.

Did this:-

richard@richard-H81M-S2H:~$ /home/richard/.config/enchant
bash: /home/richard/.config/enchant: Is a directory
richard@richard-H81M-S2H:~$ /home/richard/.dbus
bash: /home/richard/.dbus: Is a directory
richard@richard-H81M-S2H:~$

Q 1/ How do I check that I can open these files.

Please show how

Thanks for any advice.

Rich.b

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Rich.b
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You don't need .gvfs or .dbus they are system directories and will be regenerated after the login. They should be removed

enchant seems to be a spellchecker. I'd try removing that and then run a restore on another system, see if it's OK

Revision history for this message
Rich.b (aybi30) said :
#2

Sorry to be a pest again.

I still have not got very far with Terminal commands, would like to know more.

But how are these "files" removed

What is the command(s)?

Thanks Andrew

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

I suggest that you check the file access setting with the commands

ls -ld /home/richard/.config/enchant
ls -ld /home/richard/.dbus
ls -ld /home/richard/.gvfs

Revision history for this message
Rich.b (aybi30) said :
#4

Ref: enchant :-

When you say restore on another system - do you mean a different PC ?

Revision history for this message
Rich.b (aybi30) said :
#5

Tried the following:-

richard@richard-H81M-S2H:~$ rm /home/richard/.dbus
rm: cannot remove '/home/richard/.dbus': Is a directory
richard@richard-H81M-S2H:~$ rmdir /home/richard/.dbus
rmdir: failed to remove '/home/richard/.dbus': Directory not empty
richard@richard-H81M-S2H:~$ ls -ld /home/richard/.dbus
drwx------ 3 root root 4096 Dec 17 2015 /home/richard/.dbus
richard@richard-H81M-S2H:~$ ls -ld /home/richard/.gvfs
drwx------ 2 root root 4096 Dec 17 2015 /home/richard/.gvfs
richard@richard-H81M-S2H:~$ ls -ld /home/richard/.config/enchant
drwx------ 2 root root 4096 Dec 17 2015 /home/richard/.config/enchant
richard@richard-H81M-S2H:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

As you can see from the output, these three directory files are not owned by your user, but by root.

If you want to change ownership, you can use a command like
sudo chown -R richard:richard /home/richard/.config/enchant

If you want to delete one of the directories tohether with the files in contains, a suitable command might be
sudo rm -rf /home/richard/.gvfs
(be careful with that command; mistyping it might delete important files that you want to keep)

Revision history for this message
Rich.b (aybi30) said :
#7

Why does "Back Up" Does not wish to (or can't, back up these files?

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

It would be a security hole if you are denied access to a file for confidentiality purposes, but still could access it by the backup process (and maybe read the backup copy in the backup location).
If the backup job is started with the authorizations of your user ID, then this process can only read files that are accessible by your user.

Revision history for this message
Rich.b (aybi30) said :
#9

Thanks Manfred, I think that I will leave "as is"

Thanks again

Rich.b