delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/10/14:43:47

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 10 Sep 2010 20:43:15 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: chmod -R 777*
Message-ID: <20100910184315.GI16534@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20100910T110231-310 AT post DOT gmane DOT org> <i6dlob$m3k$1 AT dough DOT gmane DOT org> <i6drii$g06$1 AT dough DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <i6drii$g06$1@dough.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

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

- Raw text -


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