You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, e3.fs.sync_tree fails to synchronize the Windows read-only attribute on files. You can reproduce the problem using the following script:
Here's the output of attrib before and after running the script, in both directories.
# Before
# in
A C:\home\poeplau\code\sync_tree\in\foo.txt
# out
A C:\home\poeplau\code\sync_tree\out\foo.txt
# After
# in
A R C:\home\poeplau\code\sync_tree\in\foo.txt
# out
A C:\home\poeplau\code\sync_tree\out\foo.txt
In some cases,
e3.fs.sync_tree
fails to synchronize the Windows read-only attribute on files. You can reproduce the problem using the following script:(It doesn't seem to matter whether
delete
isTrue
orFalse
.)This is how I used the script:
Note how
out/foo.txt
is still writable after the call tosync_tree
. Windows Explorer confirms that the read-only attribute isn't set.The text was updated successfully, but these errors were encountered: