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.0.0.22.0.20031029112342.03c24480@127.0.0.1> X-Sender: Date: Wed, 29 Oct 2003 11:31:58 -0500 To: enok AT lysator DOT liu DOT se, cygwin AT cygwin DOT com From: Larry Hall Subject: Re: Q: cygwin setup problems In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:07 AM 10/29/2003, enok AT lysator DOT liu DOT se you wrote: >When I run setup.exe to install new packages the process hangs when >copying the files into the file system. The reason is that setup creates >all directories and files as write protected (dr--r--r--) and then fails >to fill the newly created directory with files (because of the write >protection). > >What is the problem? > >My platform is Windows 2000 with NTFS file system. I use CYGWIN=ntsec. >After installing the initial cygwin packages I noticed that all files >had protection rwxrwxrwx. I changed that of course and now all files are >instead created r--r--r--. Why? Please help! It's a Windows thing. By default, children of a parent automatically inherit the permissions of the parent. You can change that of course but your previous attempts at "fiddling" with the install tree didn't fare very well so I wouldn't recommend you do more experimentation here (unless you plan to live with the consequences and/or find the solutions to the problems you cause). The two options that I think will work the best for you is to simply change the permissions globally to add write and execute permissions where appropriate or to simply remove your current installation and reinstall, making sure that the directory under which you're installing Cygwin has reasonably open permissions. -- 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/