keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.91k stars 1.23k forks source link

Synced files from Linux/Mac users end up planting ._hidden files for Windows users #10853

Open ericjarvies opened 6 years ago

ericjarvies commented 6 years ago

When using Linux or Mac, when adding files to a folder (e.g.- some.pdf), Windows users end up with extra files.. the sharted file (e.g.- some.pdf) and a hidden version of the file (e.g.- ._some.pdf).

strib commented 6 years ago

@ericjarvies we merged a fix for this in keybase/kbfs#1444 that should hide those mac files from Windows users by default. Are you on the latest release?

ericjarvies commented 6 years ago

Version 1.0.45-20180305194145+3a1c65a05 (1.0.45-20180305194145+3a1c65a05)

strib commented 6 years ago

@taruti any idea why this version doesn't seem to hide the OSX files on Windows?

taruti commented 6 years ago

Tried latest release version on a test machine, and the ._-prefixed files were hidden by default with explorer and cmd.exe. Probably we are seeing a Windows version specific issue.

@ericjarvies - Can you confirm the following: 1) What attributes does the extra file have (e.g. right click in explorer -> Properties, the first tab "General" and "Attributes" 2) Is it also visible when doing a dir in cmd.exe? 3) If explorer is configured to show hidden files then those will be shown also on kbfs 4) Which Windows version?

joejarvies commented 6 years ago

@taruti

  1. The attributes denote 'Hidden.'
  2. Cannot cd to KBFS (or K:) using Cmd (as administrator or otherwise)
  3. Is this going to be the permanent behavior?
  4. Windows version 10.0.16299.309
dabura667 commented 6 years ago

When cd to a different drive letter you need to use:

K:

Typing the drive letter then colon and hitting enter will cd to the new drive.

then you can cd to private\yourname\file.jpg

joejarvies commented 6 years ago

Ok thanks

Sent from ProtonMail Mobile

On Sun, Mar 18, 2018 at 5:30 PM, Dabura667 notifications@github.com wrote:

When cd to a different drive letter you need to use:

K:

Typing the drive letter then colon and hitting enter will cd to the new drive.

then you can cd to privateyournameile.jpg

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/keybase/client","title":"keybase/client","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/keybase/client"}},"updates":{"snippets":[{"icon":"PERSON","message":"@dabura667 in #10853: When cd to a different drive letter you need to use: K: Typing the drive letter then colon and hitting enter will cd to the new drive. then you can cd to privateyournameile.jpg"}],"action":{"name":"View Issue","url":"https://github.com/keybase/client/issues/10853#issuecomment-374070783"}}}

zanderz commented 6 years ago

image KBFS only sets the hidden flag for these files. Whether hidden files are displayed in Explorer is an Explorer setting. You can also see them in the CMD window with dir /ah.