Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <36E8C652.C6586AD1@cityweb.de> Date: Fri, 12 Mar 1999 08:46:26 +0100 From: Corinna Vinschen X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Greg Frank CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: NT file permissions References: <199903120003 DOT RAA06843 AT mail DOT decisionism DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greg Frank wrote: > > While using NTFS and setting CYGWIN=ntea, group permissions > on files are not being reported correctly. > > A given file has granted "full access control" to everyone and still > shows up as -rw-r--r-- > > Thus, a "test -w" fails on a file that is perfectly writable by me. > > Is this a known problem or does anyone know of some more > documentation I should be reading? Hi Greg, it's the expected behaviour of `ntea'. `ntea' doesn't set the NT rights, but saves the UNIX-like permissions as an additional information. Thus, your NT attributes are not changed, but the checks on permissions as in your `test -w' example are done on the additional saved info. So, `ntea' only has effect in cygwin, since no other product reads this info. Possibly, the next release of cygwin contains an extension, which allows, to set NT attributes according to cygwin's UNIX-like permissions, at least on NTFS file system. Regards, Corinna -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com