[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backup-buffer-copy loops if old backup can't be deleted
From: |
Martin von Gagern |
Subject: |
Re: backup-buffer-copy loops if old backup can't be deleted |
Date: |
Fri, 24 Aug 2007 09:13:05 +0200 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20070817) |
Richard Stallman wrote:
> I think there is no need to explicitly check whether the directory
> is writable. What would be the purpose of that?
I didn't write that patch, but I guess there could be a purpose for it.
Namely it could help deleting a file in vain. If there are Filesystems
that let you delete a writable file even though you can't create new
ones in a non-writable dir, then without those lines, emacs would delete
an old backup only to find out that it can't create a new one.
Most likely these would be cases where the old backup file was writable,
so if you had some logic to write to existing files and only delete them
if they are not writable, then the check whether the directory is
writable should really be superfluous. Otherwise I'm not so sure.
Greetings,
Martin von Gagern
signature.asc
Description: OpenPGP digital signature
- Re: backup-buffer-copy loops if old backup can't be deleted, (continued)
- Re: backup-buffer-copy loops if old backup can't be deleted, martin rudalics, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted, Glenn Morris, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, martin rudalics, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, martin rudalics, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, Michael Schierl, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted, Ulrich Mueller, 2007/08/22
Re: backup-buffer-copy loops if old backup can't be deleted, Richard Stallman, 2007/08/23
Re: backup-buffer-copy loops if old backup can't be deleted, Richard Stallman, 2007/08/25
Message not available