delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/10/15:20:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <OF34908CFF.8C3E4387-ON87257096.0054A610-85257096.006A4086@us.ibm.com>
From: Thomas L Roche <tlroche AT us DOT ibm DOT com>
Date: Mon, 10 Oct 2005 15:21:37 -0400

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019