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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040613212624.00a61d90@pop.prospeed.net> X-Sender: Date: Sun, 13 Jun 2004 21:35:01 -0400 To: rouilj AT ieee DOT org, The Cygwin Mailing List From: Larry Hall Subject: Re: Problem with sys.executable solved In-Reply-To: <200406131636.i5DGaNB9025102@mx1.cs.umb.edu> References: <200406131636 DOT i5DGaNB9025102 AT mx1 DOT cs DOT umb DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:36 PM 6/13/2004, you wrote: >I wrote a bit ago about sys.executable returning the current working >directory. I am happy to report that the problem is solved, but I am >not sure what caused the problem in the first place. > >The permissions on python2.3 were mode 000. This allowed python to >run, but didn't allow it to do other things like resolve its own >name. chmod 755 /usr/bin/python2.3.exe fixed the sys.executable problem. > >Now I have no idea what is broken with the permissions and why the >file is being created with mode 000. I seem to remember a discussion >of permissions with setup on NTFS filesystems. I thought it was >fixed, but maybe not. Using setup, I removed the python 2.3.4-1 >install and reinstalled it. The mode 000 file came back 8-(. >I have attached the cygcheck.out in case its of any use. You should check the permissions as reported by 'getfacl'. There's a known 'issue' if you have permissions set up under NT to be inherited from the parent. If those permissions aren't entirely "right", they can cause problems. This may be your problem. The easiest way to fix this is to just change all the permissions under '/' to be the way you want them. Alternatively, you could remove Cygwin, recreate the directory, set the proper permissions, then install to that directory. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/