AR# 18369


6.1 EDK, XPS, bash - 'No such file or directory' error with EDK when using deeply nested network shares or mixing case


Keywords: EDK, XPS, bash, cd, make, ISE, network, share, path, samba

Urgency: Standard

General Description:
When running a command in XPS, I receive an error where the slashes are removed from my project path, similar to below:

Project Opened.
Command bash -c "cd \\Machine\xxx\xxx\xxx\xxx\Mysharename\myproject\; make -f system.make libs; exit;" Started...
bash: cd: mymachinexxxxxxxxxxxxmysharenamemyproject;: No such file or directory

How do I fix this error?


This is caused by virtue of having a share that is deep inside a filesystem directory or by mixing character case in network paths. In this case, the share was \\Mymachine\xxx\xxx\xxx\xxx\Mysharename, with a directory of myproject. Changing the exported share to \\mymachine\xxx\myshare and the directory to xxx\xxx\xxx\xxx\myproject by reducing the all letters to lower case and reducing the depth of the share should work around this issue. Moving the project to a local share will also avoid this issue.

AR# 18369
Date 03/07/2006
Status Archive
Type General Article
People Also Viewed