New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 667406 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Could not create a file in Google Drive folder on CrOS with a frontslash. Works fine on web then in CrOS shows as an underscore

Project Member Reported by ijpedowitz@google.com, Nov 21 2016

Issue description

Chrome Version       : 54.0.2840.93
OS Version: 8743.83.0

What steps will reproduce the problem?
1.  Open Files
2.  Open Google Drive Folder
3.  Two finger click and select New Folder
4.  Name the folder with a frontslash

What is the expected result?
I am able to create the folder, and it shows properly named

What happens instead of that?
I receive an invalid character error.

Please provide any additional information below. Attach a screenshot if
possible.

If I go to drive.google.com and create the folder, it works fine, but Files then shows what was the frontslash as an underscore.

UserAgentString: Mozilla/5.0 (X11; CrOS x86_64 8743.83.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.93 Safari/537.36



 
Components: Platform>Apps

Comment 2 by smckay@chromium.org, Jan 28 2017

Components: -Platform>Apps Platform>Apps>FileManager
Owner: fukino@chromium.org
Fukino-san. Is this a known issue?

Comment 3 by fukino@chromium.org, Jan 30 2017

Cc: hashimoto@chromium.org
Status: WontFix (was: Unconfirmed)
IIUC it is a know restriction.
We disallow some characters (including '/') for file/folder names for technical reasons.
If Google Drive files already have such characters, we replace those characters to display them in Files app.

+hashimoto@, please correct me if I'm wrong.
Correct.
IIRC this behavior is compatible with Drive clients on other platforms.
Status: Untriaged (was: WontFix)
Other platforms support this just fine, I humbly request you reconsider this.

Comment 6 by sashab@chromium.org, Feb 24 2018

Labels: CrOS-FilesApp
Owner: weifangsun@chromium.org
Status: Assigned (was: Untriaged)
Assigning to weifang, please advise as to whether we should support this.
> Other platforms support this just fine, I humbly request you reconsider this.

Chrome OS's path handling is based on that of Linux and '/' works as a path separator, so '/' cannot appear in file names.
IIUC Drive sync clients on other platforms (i.e. Win, Mac, and Linux) do the same thing.
Could you kindly enlighten me how "other platforms support this just fine"?
For example, on Mac, I can create a folder named "Test/Test" and it syncs fine to Google Drive, and doesn't replace the slash with an underscore.  '/' can appear just fine in folder names on Mac.
You are seeing slashes in file names on Finder because it's replacing colons with slashes when displaying file names.
You'll see colons instead of slashes when using Terminal which displays the real file name.

IMO we shouldn't replicate Mac's behavior which results in creating a new problem about file names which contain colons.
But on Web, I see a slash, not a colon for the folder created on Mac...
Status: WontFix (was: Assigned)
Google Drive allows users to create a file whose name contains slashes (IMHO this is not a good design decision), but when the file is downloaded to a computer, on all supported platforms those slashes will be replaced with another character.

Closing as WAI.

Sign in to add a comment