From: peter AT vhp9 DOT valor DOT com (Peter Gordon) Subject: chmod on NT 17 Mar 1998 06:37:18 -0800 Message-ID: <199803160723.JAA02184.cygnus.gnu-win32@vhp22.valor.com> Reply-To: peter AT valor DOT com To: gnu-win32 AT cygnus DOT com Cc: Ayal Bahari Hi. In a Unix environment, we normally consider chmod 777 file as setting all the bits on a file to "on", so that we can do whatever we like to the file. What happens in NT is the opposite. There are other bits, such as the delete bit, which get set "off", so that although the file can be read, written and executed, it can no longer be deleted. The workaround is to always use +777 or -777, so that only those bits get set. As far as I can see, there is no way of setting the delete flag to "on" with chmod. Either chmod should be changed so that it never touches any flags, except for read, write and execute or there should be an option to set and unset all the flags. Peter -- Peter Gordon Tel: (972) 8 9432430 Fax: (972) 8 9432429 Email: peter AT valor DOT com Valor Ltd, PO Box 152, Yavne 70600, Israel - 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".