Bug 840115

Summary: guestfish touch problem - case_sensitive_path API expects the file to exist
Product: [Community] Virtualization Tools Reporter: Nux <nux>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dyasny, mbooth
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 14:19:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.