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 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: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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