On Jul 15 16:47, Henk van Lingen wrote: > > Hi, > > I'm a cygwin rookie and can't get I clear clue (after googling) as to why > after installing cygwin on WinXP I have these permissions: > > $ ls -al /cygdrive/c/cygwin/ > total 9 > drwxrwx---+ 11 administrator Users 0 Jul 4 13:52 . > drwxrwxr-x+ 11 Administrators SYSTEM 0 Jul 15 11:10 .. > -rwxr-x---+ 1 administrator Users 57 Jul 3 11:46 Cygwin.bat > -rwxr-x---+ 1 administrator Users 7022 Jul 3 11:46 Cygwin.ico > drwxrwx---+ 2 administrator Users 0 Jul 3 11:45 bin > drwxrwx---+ 2 administrator Users 0 Jul 3 11:44 cygdrive > drwxrwx---+ 2 administrator Users 0 Jul 3 11:44 dev > drwxrwx---+ 15 administrator Users 0 Jul 4 13:57 etc > drwxrwxrwx+ 3 Administrator Users 0 Jul 4 13:52 home > drwxr-x---+ 20 administrator Users 0 Jul 3 11:44 lib > drwxrwxrwt+ 2 administrator Users 0 Jul 15 16:00 tmp > drwxrwx---+ 17 administrator Users 0 Jul 3 11:44 usr > drwxrwx---+ 9 administrator Users 0 Jul 4 13:21 var > > > I don't beleieve it is supposed to be this way? I.e. it seems odd to give > users write access in all kind of system directories?
setup.exe creates the files with Windows default permissions. Usually those are determined by the inheritable permissions of the parent directory in which you install the Cygwin directory. Setup is a plain Win32 application which doesn't know about POSIX perms. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

