delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/02/20:49:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Mon, 3 Dec 2012 05:36:59 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <466997425.20121203053659@mtu-net.ru>
To: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson), cygwin AT cygwin DOT com
Subject: Re: IIS on Windows 7 vs. Cygwin file permissions
In-Reply-To: <f5b7gp0uqxy.fsf@calexico.inf.ed.ac.uk>
References: <f5b7gp0uqxy DOT fsf AT calexico DOT inf DOT ed DOT ac DOT uk>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Greetings, Henry S. Thompson!

> I've spent the last hour trying to find the answer to this on the
> Web/in the archives, sorry if it's an FAQ:

> What's the least 'open' way possible using chgrp and chmod g+r to
> allow my IIS server to 'see' files on my local disk?  At the moment I
> have found only three ways to let IIS see a file at all:

>  1) chmod o+r;
>  2) Use Windows folder security manipulations to give 'user' IUSR read
>     access.
>  3) chgrp Users ...

> (1) and (3) are pretty 'open', and I'd rather avoid the lengthy
> Windows UI exercise required for (2) if possible. . .

> Any suggestions?

Only one: If you intend to mix Cygwin tools with native Windows environment,
let Windows handle filesystem permissions.
Or you will never stop running into these issues over and over again.


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 03.12.2012, <05:35>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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