Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C7EDA98.9090203@ece.gatech.edu> Date: Thu, 28 Feb 2002 20:34:16 -0500 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Joshua Daniel Franklin CC: cygwin AT cygwin DOT com Subject: Re: mkshortcut debugging problem References: <20020301000334 DOT 69284 DOT qmail AT web20006 DOT mail DOT yahoo DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/