CHMOD - Still having problems !!

Turner, Nicholas Nicholas.Turner@invensys.com
Thu Feb 7 06:24:00 GMT 2002


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@PC435 ~/temp
$ touch tmp

N_Turner@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/



More information about the Cygwin mailing list