Re: "[Errno 1] Operation not permitted" on particular files causes backup to fail

EricZolf <[email protected]>
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
Bah, Stan double posted at https://github.com/rdiff-backup/rdiff-backup/issues/628
We've continued there the discussion. 
Sorry for the noise, 
Eric

On 19 October 2021 19:38:26 UTC, Arrigo Marchiori <[email protected]> wrote:
>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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.