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 In-Reply-To: <1128934190.30916.ezmlm@cygwin.com> To: cygwin AT cygwin DOT com MIME-Version: 1.0 Subject: default permissions=600, and can't chmod? Message-ID: From: Thomas L Roche Date: Mon, 10 Oct 2005 15:21:37 -0400 Content-Type: text/plain; charset="US-ASCII" I'm helping other members of my workgroup setup Cygwin on their winXP SP1 laptops (all pretty much like mine) to run an automated build process (which depends on ssh-agent). At least one person (I'll call him "Steve" :-) reports the following problems (but another person currently on vacation may also have this problem), which I haven't yet examined in detail (but will do tomorrow): * default permissions are 600. Steve starts up a bash login shell (and ~/.bash_profile starts ssh-agent), then runs an ant script that checks out files from CVS. The permissions on all created files are 600. Among the created files are some JARs: when the process subsequently tries to > java -jar foo.jar (in the same directory as the jar) it gets the error > cannot access foo.jar * user cannot chmod files. When Steve tries to > chmod 755 foo.jar from his shell, the command runs without error, but > ls -al foo.jar shows no change in permissions (still 600). Steve has a fair amount of Unix experience, but very little Cygwin experience, and has a fresh (mid-Sep 05) install of Cygwin. I run the same ant script and don't have this problem, but I've been running Cygwin lots longer. I'm wondering, what might cause this problem? Are there things I should look for, or should do, when I check Steve's cygwin? Apologies if this is a FAQ, but I didn't see anything closely related in http://cygwin.com/faq/faq-nochunks.html Please feel free to reply directly to me as well as the group, and TIA. -- 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/