Re: Backing up special files in Windows
Tõivo Leedjärv <[email protected]>
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <CAALvpZR8bg4BJJp9dCf3XGHGtmJ2VULWvb8CGKCM8Xg6CqGr2Q@mail.gmail.com> |
Regarding your second question. Don't use the dontchmod and perms preferences at all. These should be used only when you run into actual problems that can't be solved otherwise or when you have some very specific needs. The read-only attribute will be synced (unless you set dontchmod to true or perms to 0) but I don't think others like hidden or archive will be synced. You can also sync the actual permissions by using the "acl" preference. On Sun, 25 Feb 2024 at 20:57, John Rose <[email protected]> wrote: > Hello, > > I'm trying to use unison 2.53.4 to sync ntfs files between Windows 11 and > an ntfs external ssd. > > My profile is: > > root = C:\Users\michmich > root = D:\Michèle\michmich > path = Bureau > path = Documents > path = Images > dontchmod = true > perms = 0 > times = true > > Unison finds the *Documents* directory but says that *Bureau* and * > Images* don't exist. Unison works with many other directories without > problem. My guess is that these directories are not recognized because they > are special and pre-created in Windows. The only reason I can think of is > that *Documents* has the same name in both the master English version of > Windows and the French version which I am using, but *Bureau* is *Desktop* > in English and *Images* is * Pictures* in English. I try with *path = > Desktop*, same problem. However, I can get around this by creating a > separate prf file for each of the two problem directories: > > root = C:\Users\michmich\Desktop > root = D:\Michèle\michmich\Desktop > dontchmod = true > perms = 0 > times = true > > So my problem is solved but since most Windows users will sync these (and > often only these) special files, it would be nice if unison could recognize > them in path specifications. > > My second question: I believe that Windows does not have permissions in > the file specification (the Professional versions have user access rules, > but I believe that these are in a separate index and not in the file > structure?) but the files can have properties like hidden and read-only. So > what should we do about the dontchmod and perms arguments? Use them as I > have done, or not? The sync seems to run with or without them. > > Thanks and best regards, > > John > > -- > ************ > > John B. Rose > 1 Bis rue des Châtre-Sacs > 92310 Sèvres, France > > Email: [email protected] > > -- > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > -- To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].