default permissions=600, and can't chmod?

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Mon Oct 10 19:57:00 GMT 2005


On 10/10/2005 03:21 PM, Thomas L Roche wrote:
> 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


What about this?

<http://cygwin.com/faq/faq-nochunks.html#faq.using.chmod>


> Please feel free to reply directly to me as well as the group, and
> TIA.


Otherwise, please read and follow the problem reporting guidelines at:

> Problem reports:       http://cygwin.com/problems.html



-- 
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/



More information about the Cygwin mailing list