Hidden flag set on SMB server

fnordware <[email protected]>
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
I'm using Unison 2.53.3 on Windows 10, trying to sync a local folder to our 
SMB server, which is mounted as the X: drive. When I do this, any files and 
folders that are newly created at the top level of the sync have the Hidden 
flag turned on (no, the originals were not hidden). I've tried messing with 
the xattrs and xattrignore options, but they don't seem to help.

Log is attached.

Thanks!


-- 
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
unison_log.txt (text/plain, 17.1 KB)
C:\Users\bbolles>"C:\Program Files\unison-2.53.3-windows-x86_64\bin\unison.exe" X:\Staff_Folders\Brendan_Bolles\unison_tests\test6 C:\temp\test6 -debug all
[startup] Preferences:
ui = graphic
listen =
socket =
server = false
prefsman =
prefsdocs = false
doc =
version = false
i = false
color = default
silent = false
dumbtty = false
testserver = false
rest = C:\temp\test6
rest = X:\Staff_Folders\Brendan_Bolles\unison_tests\test6
showprev = false
selftest = false
confirmmerge = false
retry = 0
repeat =
contactquietly = false
key =
label =
expert = false
height = 15
auto = false
maxthreads = 0
maxsizethreshold = -1
prefer =
force =
sortnewfirst = false
sortbysize = false
keeptempfilesaftermerge = false
diff = diff -u OLDER NEWER
copyonconflict = false
backupdir =
maxbackups = 2
backups = false
backupsuffix =
backupprefix = .bak.$VERSION.
backuploc = central
copymax = 1
copythreshold = -1
copyprogrest = rsync --partial --append-verify --compress
copyprog = rsync --partial --inplace --compress
rsync = true
fastcheck = default
ignorelocks = false
dumparchives = false
showarchive = false
rootsName =
ignorearchives = false
fastercheckUNSAFE = false
fat = false
allHostsAreRunningWindows = false
someHostIsRunningWindows = false
confirmbigdel = true
batch = false
root = C:\temp\test6
root = X:\Staff_Folders\Brendan_Bolles\unison_tests\test6
killserver = false
halfduplex = false
stream = true
addversionno = false
servercmd =
sshargs =
sshcmd = ssh
xferbycopying = true
clientHostName = x02
ignoreinodenumbers = false
links-aux = true
links = default
acl = false
xattrignore = Regex !(security|trusted)[.].*
xattrignore = Path !system.posix_acl_*
xattrs = false
times = false
group = false
owner = false
numericids = false
dontchmod = false
perms = 1023
watch = false
rsrc-aux = false
rsrc = default
maxerrors = 1
unicodeCS = false
unicodeEnc = false
unicode = default
someHostIsInsensitive = false
ignorecase = default
timers = false
terse = false
logfile = unison.log
log = true
debugtimes = false
debug = all
addprefsto =

Unison 2.53.3 (ocaml 4.14.0) log started at 2024-03-11 at 13:36:00

Roots:
  X:\Staff_Folders\Brendan_Bolles\unison_tests\test6
  <>!C:\temp\test6

Unison 2.53.3 (ocaml 4.14.0): Contacting server...
[features] Supported features:
  - Sync: ACL
  - Sync: xattr
[features] Common features for root C:/temp/test6:
  - Sync: ACL
  - Sync: xattr
[features] Common features for root X:/Staff_Folders/Brendan_Bolles/unison_tests/test6:
  - Sync: ACL
  - Sync: xattr
[features] Enabled features:
  - Sync: ACL
  - Sync: xattr
[startup] Roots:
        X:\Staff_Folders\Brendan_Bolles\unison_tests\test6
        C:\temp\test6
  i.e.
        X:\Staff_Folders\Brendan_Bolles\unison_tests\test6
        C:\temp\test6
  i.e. (in canonical order)
       C:/temp/test6
       X:/Staff_Folders/Brendan_Bolles/unison_tests/test6

[globals] Checking path '' for expansions
[props] Setting permission mask to 200 (1777 and 200)
[stasher] initBackupsLocal
[stasher] d = /
[stasher] Prefix and suffix regexps for backup filenames have been updated
[stasher] initBackupsLocal
[stasher] d = /
[stasher] Prefix and suffix regexps for backup filenames have been updated
Looking for changes
[ui] temp: Globals.paths =
[pred] ignore '' = false
[update] Loading archive from C:\\Users\\bbolles\\.unison\\arb6698aac31a928464b1e4109eb6a0818
[update] Archive C:\\Users\\bbolles\\.unison\\arb6698aac31a928464b1e4109eb6a0818 not found
[update] Loading archive from C:\\Users\\bbolles\\.unison\\ar7aef18
[update] Archive C:\\Users\\bbolles\\.unison\\ar7aef18 not found
[update] Loading archive from C:\\Users\\bbolles\\.unison\\ar9ec1cd06011c82f114f89d2f412c776d
[update] Archive C:\\Users\\bbolles\\.unison\\ar9ec1cd06011c82f114f89d2f412c776d not found
[update] Loading archive from C:\\Users\\bbolles\\.unison\\ar31a149
[update] Archive C:\\Users\\bbolles\\.unison\\ar31a149 not found
Warning: No archive files were found for these roots, whose canonical names are:
        X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
        C:/temp/test6
This can happen either
because this is the first time you have synchronized these roots,
or because you have upgraded Unison to a new version with a different
archive format.

Update detection may take a while on this run if the replicas are
large.

Unison will assume that the 'last synchronized state' of both replicas
was completely empty.  This means that any files that are different
will be reported as conflicts, and any files that exist only on one
replica will be judged as new and propagated to the other replica.
If the two replicas are identical, then no changes will be reported.

If you see this message repeatedly, it may be because one of your machines
is getting its address from DHCP, which is causing its host name to change
between synchronizations.  See the documentation for the UNISONLOCALHOSTNAME
environment variable for advice on how to correct this.


Press return to continue.[<spc>]
[update] Loading archive from C:\\Users\\bbolles\\.unison\\arb6698aac31a928464b1e4109eb6a0818
[update] Archive C:\\Users\\bbolles\\.unison\\arb6698aac31a928464b1e4109eb6a0818 not found
[update] Loading archive from C:\\Users\\bbolles\\.unison\\ar7aef18
[update] Archive C:\\Users\\bbolles\\.unison\\ar7aef18 not found
[update] Setting archive for //x02/C:/temp/test6
[update] Loading archive from C:\\Users\\bbolles\\.unison\\ar9ec1cd06011c82f114f89d2f412c776d
[update] Archive C:\\Users\\bbolles\\.unison\\ar9ec1cd06011c82f114f89d2f412c776d not found
[update] Loading archive from C:\\Users\\bbolles\\.unison\\ar31a149
[update] Archive C:\\Users\\bbolles\\.unison\\ar31a149 not found
[update] Setting archive for //x02/X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[update] findOnRoot C:/temp/test6
[update] findLocal C:/temp/test6 ()
[fpcache] opening cache file C:\\Users\\bbolles\\.unison\\fpb6698aac31a928464b1e4109eb6a0818 for input
[fpcache] could not open cache file C:\\Users\\bbolles\\.unison\\fpb6698aac31a928464b1e4109eb6a0818: C:\Users\bbolles\.unison\fpb6698aac31a928464b1e4109eb6a0818: No such file or directory
[fpcache] opening cache file C:\\Users\\bbolles\\.unison\\fpb6698aac31a928464b1e4109eb6a0818 for output
[pred] ignore '' = false
[update] buildUpdateRec: C:/temp/test6
[update]   buildUpdate -> New directory
[pred] immutable '' = false
[pred] ignore 'file.txt' = false
[update] buildUpdateRec: C:/temp/test6/file.txt
[update]   buildUpdate -> New file
[fpcache] cache miss for path file.txt
[pred] ignore 'myDir' = false
[update] buildUpdateRec: C:/temp/test6/myDir
[update]   buildUpdate -> New directory
[pred] immutable 'myDir' = false
[pred] ignore 'myDir/file_in_dir.txt' = false
[update] buildUpdateRec: C:/temp/test6/myDir/file_in_dir.txt
[update]   buildUpdate -> New file
[fpcache] cache miss for path myDir / file_in_dir.txt
<>$[update] Setting archive for //x02/C:/temp/test6
[update] findOnRoot X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[update] findLocal X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 ()
[fpcache] opening cache file C:\\Users\\bbolles\\.unison\\fp9ec1cd06011c82f114f89d2f412c776d for input
[fpcache] could not open cache file C:\\Users\\bbolles\\.unison\\fp9ec1cd06011c82f114f89d2f412c776d: C:\Users\bbolles\.unison\fp9ec1cd06011c82f114f89d2f412c776d: No such file or directory
[fpcache] opening cache file C:\\Users\\bbolles\\.unison\\fp9ec1cd06011c82f114f89d2f412c776d for output
[pred] ignore '' = false
[update] buildUpdateRec: X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[update]   buildUpdate -> New directory
[pred] immutable '' = false
[update] Setting archive for //x02/X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
Reconciling changes
[recon] reconcileAll
[pred] atomic '' = false
[recon] reconcile: 2 results
[update] Marking 1 paths equal
[update] markEqualLocal C:/temp/test6
[pred] backupcurr '' = false
[update] Setting archive for //x02/C:/temp/test6
[update] markEqualLocal X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[pred] backupcurr '' = false
[update] Setting archive for //x02/X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[update] Updating archives
[update] Saving archive in C:\\Users\\bbolles\\.unison\\scb6698aac31a928464b1e4109eb6a0818
[update] Saving archive in C:\\Users\\bbolles\\.unison\\sc9ec1cd06011c82f114f89d2f412c776d
[update] Copying archive C:\\Users\\bbolles\\.unison\\tmb6698aac31a928464b1e4109eb6a0818 to C:\\Users\\bbolles\\.unison\\arb6698aac31a928464b1e4109eb6a0818
[update] Copying archive C:\\Users\\bbolles\\.unison\\tm9ec1cd06011c82f114f89d2f412c776d to C:\\Users\\bbolles\\.unison\\ar9ec1cd06011c82f114f89d2f412c776d
[update] Removing archive C:\\Users\\bbolles\\.unison\\tmb6698aac31a928464b1e4109eb6a0818
[update] Removing archive C:\\Users\\bbolles\\.unison\\tm9ec1cd06011c82f114f89d2f412c776d
[pred] sortlast 'file.txt' = false
[pred] sortlast 'myDir' = false
[pred] sortfirst 'file.txt' = false
[pred] sortfirst 'myDir' = false
[sort] file.txt <= myDir --> -1
[pred] forcepartial 'file.txt' = false
[pred] preferpartial 'file.txt' = false
[pred] forcepartial 'myDir' = false
[pred] preferpartial 'myDir' = false
[update] Updating archives
[update] Saving archive in C:\\Users\\bbolles\\.unison\\scb6698aac31a928464b1e4109eb6a0818
[update] Saving archive in C:\\Users\\bbolles\\.unison\\sc9ec1cd06011c82f114f89d2f412c776d
[update] Copying archive C:\\Users\\bbolles\\.unison\\tmb6698aac31a928464b1e4109eb6a0818 to C:\\Users\\bbolles\\.unison\\arb6698aac31a928464b1e4109eb6a0818
[update] Copying archive C:\\Users\\bbolles\\.unison\\tm9ec1cd06011c82f114f89d2f412c776d to C:\\Users\\bbolles\\.unison\\ar9ec1cd06011c82f114f89d2f412c776d
[update] Removing archive C:\\Users\\bbolles\\.unison\\tmb6698aac31a928464b1e4109eb6a0818
[update] Removing archive C:\\Users\\bbolles\\.unison\\tm9ec1cd06011c82f114f89d2f412c776d

unison_te...   temp/test6
         <---- file       file.txt  [f]
         <---- dir        myDir  [f]

2 items will be synced, 0 skipped
0 B to be synced from unison_tests/test6 to temp/test6
32 B to be synced from temp/test6 to unison_tests/test6
<>$<>Starting new major GC cycle

Proceed with propagating updates? [] y
Propagating updates


Unison 2.53.3 (ocaml 4.14.0) started propagating changes at 13:36:05.22 on 11 Mar 2024
[BGN] Copying file.txt from C:/temp/test6 to X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[files] copy C:/temp/test6 file.txt ---> X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 file.txt
[pred] follow 'file.txt' = false
[fspath] Os.findWorkingDir(X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,file.txt) = (X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,file.txt)
[update] updateArchive C:/temp/test6 file.txt
[pred] ignore 'file.txt' = false
[files] copyRec file.txt --> .unison.file.txt.9ec1cd06011c82f114f89d2f412c776d.unison.tmp  (really to file.txt)
[abort] Checking line 0
[copy] copyRegFile(C:/temp/test6,file.txt) -> (X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,file.txt,X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,.unison.file.txt.9ec1cd06011c82f114f89d2f412c776d.unison.tmp,modified on 2024-03-11 at 13:29:57  size 16        read-write)
[copy] Copy.localFile C:/temp/test6 / file.txt to X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 / .unison.file.txt.9ec1cd06011c82f114f89d2f412c776d.unison.tmp
[props] Setting permissions for X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/.unison.file.txt.9ec1cd06011c82f114f89d2f412c776d.unison.tmp to read-write (600/200)
[files] rename(root=X:/Staff_Folders/Brendan_Bolles/unison_tests/test6, localPath=file.txt, pathOld=.unison.file.txt.9ec1cd06011c82f114f89d2f412c776d.unison.tmp, pathNew=file.txt)
[update] checkNoUpdates X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 file.txt
[update] buildUpdateRec: X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/file.txt
[update]   buildUpdate -> Absent and no archive
[files] Renaming .unison.file.txt.9ec1cd06011c82f114f89d2f412c776d.unison.tmp to file.txt in X:/Staff_Folders/Brendan_Bolles/unison_tests/test6; root is X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[files] rename: moveFirst=false
[stasher] backup: X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 / file.txt
[pred] follow 'file.txt' = false
[fspath] Os.findWorkingDir(X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,file.txt) = (X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,file.txt)
[stasher] File file.txt in X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 does not exist, so no need to back up
[os] rename X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/.unison.file.txt.9ec1cd06011c82f114f89d2f412c776d.unison.tmp to X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/file.txt
<>![files] Contents of X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/file.txt after renaming = e7680cee0538ac00aff721c5c96e3d4b
[pred] backupcurr 'file.txt' = false
[update] replaceArchiveLocal X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 file.txt
[update] Setting archive for //x02/X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[update] updateArchive C:/temp/test6 file.txt
[pred] ignore 'file.txt' = false
[update] replaceArchiveLocal C:/temp/test6 file.txt
[update] Setting archive for //x02/C:/temp/test6
[pred] backupcurr 'file.txt' = false
[END] Copying file.txt
[BGN] Copying myDir from C:/temp/test6 to X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[files] copy C:/temp/test6 myDir ---> X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 myDir
[pred] follow 'myDir' = false
[fspath] Os.findWorkingDir(X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,myDir) = (X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,myDir)
[update] updateArchive C:/temp/test6 myDir
[pred] ignore 'myDir' = false
[files] copyRec myDir --> .unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp  (really to myDir)
[files] Creating directory X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/.unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp
[abort] Checking line 1
[files] copyRec myDir/file_in_dir.txt --> .unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp/file_in_dir.txt  (really to myDir/file_in_dir.txt)
[abort] Checking line 1
[copy] copyRegFile(C:/temp/test6,myDir/file_in_dir.txt) -> (X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,myDir/file_in_dir.txt,X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,.unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp/file_in_dir.txt,modified on 2024-03-11 at 13:29:46  size 16        read-write)
[copy] Copy.localFile C:/temp/test6 / myDir/file_in_dir.txt to X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 / .unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp/file_in_dir.txt
[props] Setting permissions for X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/.unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp/file_in_dir.txt to read-write (600/200)
[props] Setting permissions for X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/.unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp to read-write (777/200)
[files] rename(root=X:/Staff_Folders/Brendan_Bolles/unison_tests/test6, localPath=myDir, pathOld=.unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp, pathNew=myDir)
[update] checkNoUpdates X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 myDir
[update] buildUpdateRec: X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/myDir
[update]   buildUpdate -> Absent and no archive
[files] Renaming .unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp to myDir in X:/Staff_Folders/Brendan_Bolles/unison_tests/test6; root is X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[files] rename: moveFirst=false
[stasher] backup: X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 / myDir
[pred] follow 'myDir' = false
[fspath] Os.findWorkingDir(X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,myDir) = (X:/Staff_Folders/Brendan_Bolles/unison_tests/test6,myDir)
[stasher] File myDir in X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 does not exist, so no need to back up
[os] rename X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/.unison.myDir.9ec1cd06011c82f114f89d2f412c776d.unison.tmp to X:/Staff_Folders/Brendan_Bolles/unison_tests/test6/myDir
[files] [pred] backupcurr 'myDir' = false
[update] replaceArchiveLocal X:/Staff_Folders/Brendan_Bolles/unison_tests/test6 myDir
[update] Setting archive for //x02/X:/Staff_Folders/Brendan_Bolles/unison_tests/test6
[update] updateArchive C:/temp/test6 myDir
[pred] ignore 'myDir' = false
[update] replaceArchiveLocal C:/temp/test6 myDir
[update] Setting archive for //x02/C:/temp/test6
[pred] backupcurr 'myDir' = false
[END] Copying myDir
<>$Unison 2.53.3 (ocaml 4.14.0) finished propagating changes at 13:36:05.33 on 11 Mar 2024, 0.117 s


Saving synchronizer state
[update] Updating archives
[update] Saving archive in C:\\Users\\bbolles\\.unison\\scb6698aac31a928464b1e4109eb6a0818
[update] Saving archive in C:\\Users\\bbolles\\.unison\\sc9ec1cd06011c82f114f89d2f412c776d
[update] Copying archive C:\\Users\\bbolles\\.unison\\tmb6698aac31a928464b1e4109eb6a0818 to C:\\Users\\bbolles\\.unison\\arb6698aac31a928464b1e4109eb6a0818
[update] Copying archive C:\\Users\\bbolles\\.unison\\tm9ec1cd06011c82f114f89d2f412c776d to C:\\Users\\bbolles\\.unison\\ar9ec1cd06011c82f114f89d2f412c776d
[update] Removing archive C:\\Users\\bbolles\\.unison\\tmb6698aac31a928464b1e4109eb6a0818
[update] Removing archive C:\\Users\\bbolles\\.unison\\tm9ec1cd06011c82f114f89d2f412c776d
Synchronization complete at 13:36:05  (2 items transferred, 0 skipped, 0 failed)
<>$<>Starting new major GC cycle
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.