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 Message-ID: <434AC762.3060501@cygwin.com> Date: Mon, 10 Oct 2005 15:56:18 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) MIME-Version: 1.0 To: Thomas L Roche CC: cygwin AT cygwin DOT com Subject: Re: default permissions=600, and can't chmod? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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? > 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/