Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20BF6965E809D6119DC0009027E34A122534DA@mail.imserv.invensys.com> From: "Turner, Nicholas" To: "'cygwin AT cygwin DOT com'" Subject: CHMOD - Still having problems !! Date: Thu, 7 Feb 2002 14:24:08 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Hi, I have checked the cygwin mailing lists and read the relevant docs but still have problem getting chmod to work on my NT4 SP6 PC. I have set the cygwin environment variable as below: $ cat cygwin.bat @echo off D: chdir \Program Files\Cygnus\bin set CYGWIN=binmode ntsec tty set PATH=d:/Progra~!/Cygnus/bin set HOME=d:/Progra~1/Cygnus/home set VISUAL=notepad set EDITOR=notepad bash --login -i Now whenever I 'touch' a file, e.g. touch test.file ...the permissions are set thus N_Turner AT PC435 ~/temp $ touch tmp N_Turner AT PC435 ~/temp $ ls -l total 0 -rwxrwxrwx 1 N_Turner Administ 0 Feb 7 14:22 tmp Do anybody have any idea why this is ? I hope I haven't missed something in the setup. By the way I'm using version 1.3.9. Help and advice much appraciated, Nicholas Turner -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/