From: jj AT digisle DOT net (JJ Streicher-Bremer) Subject: Re: How can I have a working chmod 13 Nov 1998 04:31:26 -0800 Message-ID: <364B048C.93B90C00.cygnus.gnu-win32@digisle.net> References: <3 DOT 0 DOT 3 DOT 16 DOT 19981111154508 DOT 18ff46ba AT exmachina DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: John Mullee Cc: Guglielmo Pasa , gnu-win32 AT cygnus DOT com I have noticed that the cygnus chmod program seems to have little effect on the actual filesystem permissions. I personally use a native NT utility (cacls) to modify the filesystem permissions. Also there are native NT versions of ls.exe and chmod.exe that come with the NT resource kit that map quite well to the real NT filesystem permissions. I have renamed them ntls.exe and ntchmod.exe and placed them in my path. Unfortunately (as with most things from Redmond) they are not quite standard and have some quirks and their own special syntax. Hope this helps. JJ John Mullee wrote: > > At 23:12 1998-11-09 +0100, you wrote: > >Why doesn't chmod work as expected. > >It doesn't change anything. > > in bash: > > you might have to > mount C:\\cygnus\\cygwin-b20\\H-i586-cygwin32\\etc /etc > first. > $ mkpasswd -l > /etc/passwd > $ mkgroup -l > /etc/group > and then, if running under NT, add 'ntea' to the CYGWIN environment variable > --8<-- cygnus.bat > SET MAKE_MODE=UNIX > SET CYGWIN= binmode ntea mixed tty strip-title glob > SET HOME=C: > C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\bash --login > --8<-- > note that 2 spaces are necessary after the '='. > > This might only work under NT .. ? > > John > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request AT cygnus DOT com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".