This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

default permissions=600, and can't chmod?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]