X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0	tests=BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?UTF-8?B?UmVuw6kgQmVyYmVy?= <r.berber@computer.org>
Subject: Re: chmod -R 777*
Date: Fri, 10 Sep 2010 12:57:36 -0500
Lines: 22
Message-ID: <i6drii$g06$1@dough.gmane.org>
References: <loom.20100910T110231-310@post.gmane.org> <i6dlob$m3k$1@dough.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <i6dlob$m3k$1@dough.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 9/10/2010 11:18 AM, Ren=C3=A9 Berber wrote:
> On 9/10/2010 4:04 AM, Yohann wrote:
>=20
> [snip]
>> Is there any way to check the proper permission configuration on windows=
 XP or=20
>> to restore it?
>=20
> Windows doesn't care about permissions, it uses 777 for everything, and
> that is the default (everything has that permission, text, pictures,
> music, zip archives, ...).
>=20
> You don't need to change it, but if you do, you have to be careful to
> keep executables with the executable permission, or they won't run.

Also dynamic libraries need the executable bits to be used... just ran
into that one.  Windows sort of cares about permissions, probably that's
why the default is 777.
--=20
Ren=C3=A9 Berber



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

