Seadrive with folder and files with hidden attribute


#1

HI,

On seadrive 0.8 i noticed that copying files and folder on seadrive letter with hidden attribute checked is impossible.
I have I/O errors on Windows S letter when copying, and then syncing is quite impossible.
But then deleting folder from S lettre is also impossible, i have to do that on seahub Web UI.

Seadrive log tells :

[11/11/17 13:10:33] sync-mgr.c(2313): Failed to index file Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/configuration/org.eclipse.osgi/bundles/87/data/-407847164/content.xml in repo 0f471401-6c63-4867-8ea8-5be748e40480, skip.
[11/11/17 13:10:33] file-cache-mgr.c(2096): Failed to stat C:/Users/Got/seadrive/data\file-cache\0f471401-6c63-4867-8ea8-5be748e40480\Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/configuration/org.eclipse.update/platform.xml: No such file or directory.

Regards

Gautier


#2

You can try with 0.8.2 version, which will print more useful information to the log.


#3

Hi,
Here are more log infos on 0.82
The problem occurs immediately when pasting files to the S; drive letter, with a native windows error “impossible to copy” (Redo / ignore).

[11/12/17 18:13:44] dokan-ops.c(533): Mkdir Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7 in repo Gautier(0f471401)
[11/12/17 18:13:44] dokan-ops.c(2315): Failed to set file 0f471401-6c63-4867-8ea8-5be748e40480/Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7 hidden in repo tree.
[11/12/17 18:13:44] dokan-ops.c(56): SetFileAttributes \Gautier\Dossier_Web_Sem\Web_semantique\Formation_Web_semantique\Soft\org.coode.annotate_1_0_7: IO error
[11/12/17 18:13:44] dokan-ops.c(533): Mkdir Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree in repo Gautier(0f471401)
[11/12/17 18:13:44] dokan-ops.c(2315): Failed to set file 0f471401-6c63-4867-8ea8-5be748e40480/Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree hidden in repo tree.
[11/12/17 18:13:44] dokan-ops.c(56): SetFileAttributes \Gautier\Dossier_Web_Sem\Web_semantique\Formation_Web_semantique\Soft\org.coode.annotate_1_0_7\tbcfree: IO error
[11/12/17 18:13:44] dokan-ops.c(766): Create file Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/artifacts.xml in repo Gautier(0f471401)
[11/12/17 18:13:44] dokan-ops.c(766): Create file Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/notice.html in repo Gautier(0f471401)
[11/12/17 18:13:44] dokan-ops.c(766): Create file Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/TopBraid Composer.exe in repo Gautier(0f471401)
[11/12/17 18:13:45] dokan-ops.c(766): Create file Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/TopBraid Composer.ini in repo Gautier(0f471401)
[11/12/17 18:13:45] dokan-ops.c(533): Mkdir Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/configuration in repo Gautier(0f471401)
[11/12/17 18:13:45] dokan-ops.c(2315): Failed to set file 0f471401-6c63-4867-8ea8-5be748e40480/Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/configuration hidden in repo tree.
[11/12/17 18:13:45] dokan-ops.c(56): SetFileAttributes \Gautier\Dossier_Web_Sem\Web_semantique\Formation_Web_semantique\Soft\org.coode.annotate_1_0_7\tbcfree\configuration: IO error
[11/12/17 18:13:45] dokan-ops.c(766): Create file Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/configuration/config.ini in repo Gautier(0f471401)
[11/12/17 18:13:45] dokan-ops.c(533): Mkdir Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/configuration/.settings in repo Gautier(0f471401)
[11/12/17 18:13:45] dokan-ops.c(2315): Failed to set file 0f471401-6c63-4867-8ea8-5be748e40480/Dossier_Web_Sem/Web_semantique/Formation_Web_semantique/Soft/org.coode.annotate_1_0_7/tbcfree/configuration/.settings hidden in repo tree.
[11/12/17 18:13:45] dokan-ops.c(56): SetFileAttributes \Gautier\Dossier_Web_Sem\Web_semantique\Formation_Web_semantique\Soft\org.coode.annotate_1_0_7\tbcfree\configuration\.settings: IO error
[11/12/17 18:13:46] sync-mgr.c(561): Repo 'Gautier' sync state transition from 'synchronized' to 'committing'.

Regards,

Gautier


#4

Hi @Jonathan

I still have some I/O errors with Seadrive 1.0

[12/10/18 18:51:35] dokan-ops.c(666): Mkdir 208_fichier_cc-logos in repo Z - Tests(b2e74b5a)
[12/10/18 18:51:35] dokan-ops.c(829): Create file 208_fichier_cc-logos/cc-logos/.DS_Store in repo Z - Tests(b2e74b5a)
[12/10/18 18:51:35] dokan-ops.c(2454): SetFileTime \Shared with groups\Z - Tests\208_fichier_cc-logos\cc-logos\.DS_Store called.
[12/10/18 18:51:35] dokan-ops.c(2457): CreationTime is 0 (unix), 0, 0 (windows)
[12/10/18 18:51:35] dokan-ops.c(2461): LastAccessTime is 0 (unix), 0, 0 (windows)
[12/10/18 18:51:35] dokan-ops.c(2465): LastWriteTime is 1311352346 (unix), 30165132, 4040476928 (windows)
[12/10/18 18:51:35] dokan-ops.c(666): Mkdir 208_fichier_cc-logos/cc-logos/cc_logo_conferences in repo Z - Tests(b2e74b5a)
[12/10/18 18:51:35] dokan-ops.c(2429): Failed to set file b2e74b5a-6018-470c-8211-b8800dc6046b/208_fichier_cc-logos/cc-logos/cc_logo_conferences hidden in repo tree.
[12/10/18 18:51:35] dokan-ops.c(88): SetFileAttributes \Shared with groups\Z - Tests\208_fichier_cc-logos\cc-logos\cc_logo_conferences: IO error

I presume this is due to .DS_Store file (Mac origin) which are located in the folder. On Windows Machines, you have to “display OS Hidden files” to dispaly theses files. They do not have hidden attribute checked.

We have many files which came from Mac OS that could cause problems on Win Seadrive clients

You may also look at this post (same problem) : Seadrive 0.93 IO errors

Regards


#5

What operations cause this error in the log? Is the folder “cc_logo_conferences” hidden?


#6

Hi @Jonathan

The concerned operation is a copy / paste from disk to seadrive

Source folder is :

cc-logos : 23 files and 5 folders
cc-logos folder has no hidden attribute but archive attribute set

Seadrive logs :

[01/03/19 17:48:33] dokan-ops.c(666): Mkdir cc-logos in repo Z - Tests(b2e74b5a)
[01/03/19 17:48:33] dokan-ops.c(2429): Failed to set file b2e74b5a-6018-470c-8211-b8800dc6046b/cc-logos hidden in repo tree.
[01/03/19 17:48:33] dokan-ops.c(88): SetFileAttributes \Shared with groups\Z - Tests\cc-logos: IO error
[01/03/19 17:48:35] sync-mgr.c(572): Repo 'Z - Tests' sync state transition from 'synchronized' to 'committing'.
[01/03/19 17:48:35] sync-mgr.c(2702): All operations of repo Z - Tests(b2e74b5a) have been processed.
[01/03/19 17:48:35] sync-mgr.c(572): Repo 'Z - Tests' sync state transition from 'committing' to 'uploading'.
[01/03/19 17:48:35] http-tx-mgr.c(3919): Upload with HTTP sync protocol version 2.
[01/03/19 17:48:35] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'init') --> ('normal', 'check')
[01/03/19 17:48:35] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'check') --> ('normal', 'commit')
[01/03/19 17:48:35] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'commit') --> ('normal', 'fs')
[01/03/19 17:48:35] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'fs') --> ('normal', 'data')
[01/03/19 17:48:35] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'data') --> ('normal', 'update-branch')
[01/03/19 17:48:36] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'update-branch') --> ('finished', 'finished')
[01/03/19 17:48:36] sync-mgr.c(2336): removing blocks for repo b2e74b5a-6018-470c-8211-b8800dc6046b
[01/03/19 17:48:36] sync-mgr.c(572): Repo 'Z - Tests' sync state transition from 'uploading' to 'get sync info'.
[01/03/19 17:48:36] sync-mgr.c(572): Repo 'Z - Tests' sync state transition from 'get sync info' to 'synchronized'.
[01/03/19 17:48:40] dokan-ops.c(829): Create file cc-logos/.DS_Store in repo Z - Tests(b2e74b5a)
[01/03/19 17:48:40] dokan-ops.c(2454): SetFileTime \Shared with groups\Z - Tests\cc-logos\.DS_Store called.
[01/03/19 17:48:40] dokan-ops.c(2457): CreationTime is 0 (unix), 0, 0 (windows)
[01/03/19 17:48:40] dokan-ops.c(2461): LastAccessTime is 0 (unix), 0, 0 (windows)
[01/03/19 17:48:40] dokan-ops.c(2465): LastWriteTime is 1311352346 (unix), 30165132, 4040476928 (windows)
[01/03/19 17:48:40] dokan-ops.c(666): Mkdir cc-logos/cc_logo_conferences in repo Z - Tests(b2e74b5a)
[01/03/19 17:48:40] dokan-ops.c(2429): Failed to set file b2e74b5a-6018-470c-8211-b8800dc6046b/cc-logos/cc_logo_conferences hidden in repo tree.
[01/03/19 17:48:40] dokan-ops.c(88): SetFileAttributes \Shared with groups\Z - Tests\cc-logos\cc_logo_conferences: IO error
[01/03/19 17:48:43] sync-mgr.c(572): Repo 'Z - Tests' sync state transition from 'synchronized' to 'committing'.
[01/03/19 17:48:43] sync-mgr.c(2702): All operations of repo Z - Tests(b2e74b5a) have been processed.
[01/03/19 17:48:43] dokan-ops.c(829): Create file cc-logos/cc_logo_conferences/cc-conf.eps in repo Z - Tests(b2e74b5a)
[01/03/19 17:48:43] sync-mgr.c(572): Repo 'Z - Tests' sync state transition from 'committing' to 'uploading'.
[01/03/19 17:48:43] http-tx-mgr.c(3919): Upload with HTTP sync protocol version 2.
[01/03/19 17:48:43] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'init') --> ('normal', 'check')
[01/03/19 17:48:43] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'check') --> ('normal', 'commit')
[01/03/19 17:48:43] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'commit') --> ('normal', 'fs')
[01/03/19 17:48:43] dokan-ops.c(2454): SetFileTime \Shared with groups\Z - Tests\cc-logos\cc_logo_conferences\cc-conf.eps called.
[01/03/19 17:48:43] dokan-ops.c(2457): CreationTime is 0 (unix), 0, 0 (windows)
[01/03/19 17:48:43] dokan-ops.c(2461): LastAccessTime is 0 (unix), 0, 0 (windows)
[01/03/19 17:48:43] dokan-ops.c(2465): LastWriteTime is 1311343388 (unix), 30165112, 359822848 (windows)
[01/03/19 17:48:43] dokan-ops.c(829): Create file cc-logos/cc_logo_conferences/cc-conf.gif in repo Z - Tests(b2e74b5a)
[01/03/19 17:48:43] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'fs') --> ('normal', 'data')
[01/03/19 17:48:43] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'data') --> ('normal', 'update-branch')
[01/03/19 17:48:43] dokan-ops.c(2454): SetFileTime \Shared with groups\Z - Tests\cc-logos\cc_logo_conferences\cc-conf.gif called.
[01/03/19 17:48:43] dokan-ops.c(2457): CreationTime is 0 (unix), 0, 0 (windows)
[01/03/19 17:48:43] dokan-ops.c(2461): LastAccessTime is 0 (unix), 0, 0 (windows)
[01/03/19 17:48:43] dokan-ops.c(2465): LastWriteTime is 1311343428 (unix), 30165112, 759822848 (windows)
[01/03/19 17:48:43] dokan-ops.c(829): Create file cc-logos/cc_logo_conferences/cc-conf.jpg in repo Z - Tests(b2e74b5a)
[01/03/19 17:48:43] http-tx-mgr.c(1186): Transfer repo 'b2e74b5a': ('normal', 'update-branch') --> ('finished', 'finished')
[01/03/19 17:48:43] sync-mgr.c(2336): removing blocks for repo b2e74b5a-6018-470c-8211-b8800dc6046b
[01/03/19 17:48:43] sync-mgr.c(572): Repo 'Z - Tests' sync state transition from 'uploading' to 'get sync info'.
[01/03/19 17:48:43] sync-mgr.c(572): Repo 'Z - Tests' sync state transition from 'get sync info' to 'synchronized'.
[01/03/19 17:48:43] dokan-ops.c(2454): SetFileTime \Shared with groups\Z - Tests\cc-logos\cc_logo_conferences\cc-conf.jpg called.
[01/03/19 17:48:43] dokan-ops.c(2457): CreationTime is 0 (unix), 0, 0 (windows)
[01/03/19 17:48:43] dokan-ops.c(2461): LastAccessTime is 0 (unix), 0, 0 (windows)
[01/03/19 17:48:43] dokan-ops.c(2465): LastWriteTime is 1311343498 (unix), 30165112, 1459822848 (windows)
[01/03/19 17:48:43] dokan-ops.c(829): Create file cc-logos/cc_logo_conferences/cc-conf.png in repo Z - Tests(b2e74b5a)
[01/03/19 17:48:43] dokan-ops.c(2454): SetFileTime \Shared with groups\Z - Tests\cc-logos\cc_logo_conferences\cc-conf.png called.
[01/03/19 17:48:43] dokan-ops.c(2457): CreationTime is 0 (unix), 0, 0 (windows)
[01/03/19 17:48:43] dokan-ops.c(2461): LastAccessTime is 0 (unix), 0, 0 (windows)

All files are copied, even .DSStore files

destination folder is S:
cc-logos : 23 files and 5 folders
cc-logos no attribute set

but i cannot delete cc-logos folder from S: (file is used by another program)
I can delete cc-logos folder from seahub

Now if i modify the source folder cc-logos with no archive attribute

The copy / paste process from disk to seafile does not generate errors anymore.

Then i presume the I/O errors were caused by the archive attribute on the folder level.


#7

OK. Thanks for the information. We’ll try to fix the issue.


#8

Good day. Just installed Seadrive 1.0.1 replacing 1.0.0 - issue still there. Seems like I cannot copy any folder to Seadrive (Windows 10) - it fails with same native windows error as previously shown with same strings in logs about “hidden etc”. And also: after failure folder on Seadrive is beening created (and even synced) but I cannot delete this empty folder with “Action can’t be completed because the folder or a file in it is open in another program” native windows error.
But after seadrive client quit&start - this folder can be deleted and it syncs.

Any chance of fixing this behaviour?

Thanks

UPD. Just tested around with properties: no properties are responsible for this error (as I see only read-only set for the folder). But what makes error is trying to copy folder from dropbox synced folder. When I copy folder stored on local drive aside of dropbox folders - it’s coping flowlessly.
And I also noticed: when coping files from Dropbox folder Windows asks “Are you sure you want to copy this file without its properties?” So it seems to be still “properties issue” but with details.