This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: chmod -R 777*


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]