Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cannot create target file" when target has backslash space in the name #3923

Closed
mc-butler opened this issue Jun 26, 2018 · 10 comments
Closed
Assignees
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress ver: 4.8.21 Reproducible in version 4.8.21
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/3923
Reporter sergio (sergio+it@….net)

$ mkdir /tmp/test

test
$ mc
goto '/tmp/test\ test'
trying to copy into '/tmp/test\ test' will give:
Cannot create target file "/tmp/test test/test"
No such file or directory (2)

@mc-butler
Copy link
Author

Changed by sergio (sergio+it@….net) on Jun 26, 2018 at 17:46 UTC (comment 1)

$ mkdir /tmp/test\\\ test

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 26, 2018 at 18:23 UTC (comment 2)

This is unreproduceable for me in 4.8.21. Or your description is incomplete.

@mc-butler
Copy link
Author

Changed by sergio (sergio+it@….net) on Jun 26, 2018 at 19:34 UTC (comment 3)

This bug is present on git. Just tested.

$ mkdir /tmp/test\\\ test
$ touch /tmp/test
$ mc
left panel: /tmp
right panel: /tmp/test\ test
copy test from /tmp to /tmp/test\ test

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 27, 2018 at 5:21 UTC (comment 3.4)

Replying to sergio:

This bug is present on git.

Yes, confirmed.
Sorry, I was inattentive last night.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 27, 2018 at 8:41 UTC (comment 5)

Related to #3135.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 27, 2018 at 10:27 UTC (comment 6)

The buggy commit is [ef5d346].

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jul 8, 2018 at 11:08 UTC (comment 7)

  • Status changed from new to accepted
  • Owner set to andrew_b
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.22

Branch: 3923_escape_fileop_filename
Initial [aea06fb]

The autocompletion is still not working correctly for such file/dir names. But this is a task of another ticket.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jul 15, 2018 at 17:45 UTC (comment 8)

  • Branch state changed from on review to approved
  • Votes set to andrew_b

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jul 15, 2018 at 17:47 UTC (comment 9)

  • Votes changed from andrew_b to committed-master
  • Status changed from accepted to testing
  • Version changed from master to 4.8.21
  • Branch state changed from approved to merged
  • Resolution set to fixed

Merged to master: [6cdd3b7].

git log --oneline 0075f36..6cdd3b7

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jul 15, 2018 at 17:49 UTC (comment 10)

  • Status changed from testing to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress ver: 4.8.21 Reproducible in version 4.8.21
Development

No branches or pull requests

2 participants