From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1341 invoked by alias); 1 Mar 2002 01:36:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 1026 invoked from network); 1 Mar 2002 01:36:03 -0000 Received: from unknown (HELO katrina.ibb.gatech.edu) (128.61.131.14) by sources.redhat.com with SMTP; 1 Mar 2002 01:36:03 -0000 Received: from ece.gatech.edu (ibb-429.ibb.gatech.edu [128.61.133.79]) by katrina.ibb.gatech.edu (8.11.6/8.11.6) with ESMTP id g211ZnK08323; Thu, 28 Feb 2002 20:35:49 -0500 (EST) Message-ID: <3C7EDA98.9090203@ece.gatech.edu> Date: Thu, 28 Feb 2002 19:30:00 -0000 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@cygwin.com Subject: Re: mkshortcut debugging problem References: <20020301000334.69284.qmail@web20006.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg01435.txt.bz2 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/