[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: |
Wed, 22 Aug 2007 11:48:41 +0200 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20070817) |
martin rudalics wrote:
> We could check (file-writable-p to-name) here too.
And how would you combine the results? There are filesystems where I can
delete a file even if I can't write it. Most FS I know behave this way.
You really don't want filesystem specific code.
No, I believe file-writable-p should be checked to determine whether you
want to delete and recreate the backup, or write to an existing backup.
Once you are determined that you want to delete the backup, you should
simply try to do so, as I guess that's the only truly portable way of
figuring out whether you are allowed to.
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 von Gagern, 2007/08/20
- 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, martin rudalics, 2007/08/21
- 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, 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 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 <=
- 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