Bug 840115 - guestfish touch problem - case_sensitive_path API expects the file to exist
Summary: guestfish touch problem - case_sensitive_path API expects the file to exist
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-13 18:58 UTC by Nux
Modified: 2012-07-17 14:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-17 14:19:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Nux 2012-07-13 18:58:51 UTC
Description of problem:
guestfish will not "touch" new files invoked as "win:c:\blah"
it will fail with error:
guestfish --rw -i -d windowstest touch 'win:c:\blah'
libguestfs: error: case_sensitive_path: blah no file or directory found with this name

At the same time the following works just fine:
guestfish --rw -i -d windowstest touch /blah

Version-Release number of selected component (if applicable):
libguestfs 1.16.19

How reproducible:
always

Steps to Reproduce:
1. invoke guestfish touch with 'win:c:\blah'

  
Actual results:
libguestfs: error: case_sensitive_path: blah no file or directory found with this name

Expected results:
the creation of a file in c:\blah

Additional info:

Comment 1 Richard W.M. Jones 2012-07-16 09:43:38 UTC
Yes, this should really "just work".  Since we probably
cannot change the case-sensitive-path API, we may need to
work around it in guestfish.


Note You need to log in before you can comment on or make changes to this bug.