Handle path_exists for links in a more accurate way
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Triaged
|
Medium
|
Brian Curtin |
Bug Description
Currently, we are checking if a path exists in windows just checking for the file name, and if it doesn't exists, we add the .lnk extension at the end of the file and check again (to be consistent with the linux api where a link can has any or none extension), because windows requires the .lnk extension. The problem is that (in windows) if we just wanted to know if the folder "my-book" (without any extension) exists and it doesn't, but instead of that a shortcut named my-book.lnk exists, our function "path_exists" (in: u1-client/
The main issue is that in Linux you can't have both a file or a dir and a link with the same name, and in windows you can (if you ignore extensions).
summary: |
- Handle path_exists for links in a moore accurate way + Handle path_exists for links in a more accurate way |
description: | updated |
description: | updated |
Changed in ubuntuone-client: | |
status: | New → Triaged |
assignee: | nobody → Brian Curtin (brian.curtin) |
importance: | Undecided → Medium |