[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] failure backing up to windows partition
From: |
Ben Escoto |
Subject: |
Re: [rdiff-backup-users] failure backing up to windows partition |
Date: |
Fri, 21 Mar 2003 09:48:18 -0800 |
>>>>> "KE" == Keith Edmunds <address@hidden>
>>>>> wrote the following on Fri, 21 Mar 2003 17:16:01 +0000
KE> It is because I have the Win2K partition mounted on Linux, and
KE> you cannot change the ownership on an smb-mounted
KE> partition. There is actually an option (see smbmount) to
KE> determine the ownership of _all_ files on the mounted partition.
KE> Do you store file ownership info in the metadata? If so, perhaps
KE> the chown command could fail non-fatally?
Yes, ownership information should not be lost even if it isn't set in
the file system. How about making --windows-mode disable chown?
--- SetConnections.py~ 2003-02-27 08:49:28.000000000 -0800
+++ SetConnections.py 2003-03-21 09:41:19.000000000 -0800
@@ -203,7 +203,8 @@
writing_conn.Globals.set("isbackup_writer", 1)
UpdateGlobal("backup_reader", reading_conn)
UpdateGlobal("backup_writer", writing_conn)
- if writing_conn.os.getuid() == 0: UpdateGlobal('change_ownership', 1)
+ if writing_conn.os.getuid() == 0 and Globals.change_ownership != 0:
+ UpdateGlobal('change_ownership', 1)
def CloseConnections():
"""Close all connections. Run by client"""
--- Main.py.old 2003-03-21 09:43:39.000000000 -0800
+++ Main.py 2003-03-21 09:43:22.000000000 -0800
@@ -148,6 +148,7 @@
Globals.set('chars_to_quote', "A-Z:")
Globals.set('quoting_enabled', 1)
Globals.set('preserve_hardlinks', 0)
+ Globals.set('change_ownership', 0)
else: Log.FatalError("Unknown option %s" % opt)
def isincfilename(path):
--
Ben Escoto
pgpaiq6VcyAf4.pgp
Description: PGP signature
- [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/21
- Re: [rdiff-backup-users] failure backing up to windows partition, Ben Escoto, 2003/03/21
- Re: [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/21
- Re: [rdiff-backup-users] failure backing up to windows partition,
Ben Escoto <=
- Re: [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/23
- Re: [rdiff-backup-users] failure backing up to windows partition, Ben Escoto, 2003/03/24
- Re: [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/24
- Re: [rdiff-backup-users] failure backing up to windows partition, Ben Escoto, 2003/03/26
- Re: [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/27