chmod -R 777*

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Sep 10 19:15:00 GMT 2010


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



More information about the Cygwin mailing list