X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 10 Sep 2010 20:43:15 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: chmod -R 777*
Message-ID: <20100910184315.GI16534@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <loom.20100910T110231-310@post.gmane.org> <i6dlob$m3k$1@dough.gmane.org> <i6drii$g06$1@dough.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <i6drii$g06$1@dough.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Sep 10 12:57, René Berber wrote:
> On 9/10/2010 11:18 AM, René Berber wrote:
> > On 9/10/2010 4:04 AM, Yohann wrote:
> > 
> > [snip]
> >> Is there any way to check the proper permission configuration on windows XP or 
> >> to restore it?
> > 
> > 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, ...).
> > 
> > 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.

Weeeell, not exactly.  The default permissions are rather 0700, plus an
extra 7 for Administrators and SYSTEM.  Have a look into your
$USERPROFILE directory.  Typically only you have full control
permissions on your files, Administrators and SYSTEM.  But nobody else
has any permissions.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

