delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/08/12:59:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.1.0.14.2.20020508094140.027969a8@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Wed, 08 May 2002 09:59:14 -0700
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: RE: ftp / inetd problem
In-Reply-To: <229D7C0FE0BED311A0E800805F0DD471010D2DF9@wn01ex.wn.gb.solv
ay.com>
Mime-Version: 1.0

Chris F,

Is Marco's symptom possibly another manifestation of the issue with 
permissions that showed up recently with tar? As I recall, Chris, you said 
that file permissions presented during a creat(2) or open(2) call with the 
O_CREAT flag (as modified by the umask) were not being propagated through 
to the permissions assigned to the newly created file.

This came up in the cygwin AT cygwin DOT com thread under the Subject "tar won't 
restore permissions" Andrew Chang (<mailto:awc AT bitmover DOT com>) provided a 
patch to tar in that topic thread.

In response to Andrew's message with the tar patch, Chris F. wrote:

>Recent cygwin snapshots should fix this problem.

But I now that I read Chris's brief reply, I'm uncertain whether the patch 
he mentions is to tar or to Cygwin1.dll, but my guess is that it's the latter.


Randall Schulz
Mountain View, CA USA


At 01:32 2002-05-08, Craveiro, Marco wrote:
>hello chris,
>
>thanks for your reply. i must be stupid, but i still cant see any 
>solutions to my problem in the faq. let me explain it again: all the files 
>created via ftp have the permissions rw-r--r-- and i need them to be 
>rw-rw-rw-. i have used an ftpd wrapper script setting the umask to 666 but 
>the files transferred still have the same permissions. chmod works 
>properly via ftp and if i logon via telnet, the user has CYGWIN=ntsec. i 
>also exported this var on the script. what am i doing wrong? (or where is 
>tfm, 'cause i dont mind reading!)
>
>i'm using nt4.0 with cygwin 1.3.10 on an NTFS partition.
>
>cheers
>
> > -----Original Message-----
> > From: Christopher Faylor [SMTP:cgf-cygwin AT cygwin DOT com]
> > Sent: 07 May 2002 08:21
> > To:   cygwin AT cygwin DOT com
> > Subject:      Re: ftp / inetd problem
> >
> > On Tue, May 07, 2002 at 10:36:41AM +0200, Craveiro, Marco wrote:
> > >sorry to post a "me too" but i have been having lots of permission
> > >problems with ftp and inetd (see "possible permissions bug" a few days
> > >ago).  unfortunately no one replied to my posts...  when you are at the
> > >console of the machine, does chmod work properly?
> >
> > http://cygwin.com/faq/faq_4.html#SEC45
> >
> > cgf


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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