[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "[Errno 1] Operation not permitted" on particular files causes backu
From: |
Arrigo Marchiori |
Subject: |
Re: "[Errno 1] Operation not permitted" on particular files causes backup to fail |
Date: |
Tue, 19 Oct 2021 21:38:26 +0200 |
Hello Stan,
On Sun, Oct 17, 2021 at 09:56:18PM +0200, Stan Schymanski wrote:
> Dear all,
>
> I am backing up my home folder to an external usb-drive and all of a
> sudden, the backup started failing due to the following error:
>
> ListError: 'Documents/somefile1.pdf' [Errno 1] Operation not permitted:
> b'/home/user/Documents/somefile1.pdf'
> ListError: 'Documents/somefile2.pdf' [Errno 1] Operation not permitted:
> b'/home/user/Documents/somefile2.pdf'
If you found both errors during the same rdiff-backup run, then it
probably means that the backup _did_ carry on.
> Previous backup seems to have failed, regressing destination now.
This is very strange because such a message should be at the beginning
of the output, not at the end.
> I found out that they were pdf-files that I cannot open myself in linux,
> so I just removed them and started re-running the backup.
Why could you not open them?
If rdiff-backup had problems reading them, I would expect them to have
``funny'' permissions (for example no "read" bit). If permissions
were ok, then you may have a problem with your filesystem, IMHO.
I hope this helps.
Best regards,
--
Arrigo