mkshortcut debugging problem
Charles Wilson
cwilson@ece.gatech.edu
Thu Feb 28 19:30:00 GMT 2002
Joshua Daniel Franklin wrote:
>
> The code that produces this error is:
>
> MultiByteToWideChar (CP_ACP, 0, lname, -1, widepath, MAX_PATH);
> hres = pf->lpVtbl->Save (pf, widepath, TRUE);
> if (!SUCCEEDED(hres))
> {
> fprintf(stderr, "%s: Save to persistant storage failed (Does the
> directo
> ry you are writing to exist?)\n", prog_name);
> exit(3);
> }
>
> I'm afraid I have no idea how to debug this, and I've begun to make what
> seem like arbitrary changes. Why would it work from one directory and not
> another? (BTW, I tried printf'ing the lname string and it is identical in
> both cases.) Anyone have any suggestions?
Permissions or ACLs on the two different directories? Try
getfacl {dir1}
getfacl {dir2}
Same? Different?
--Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list