X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: [BUG] 'chmod' broken on FAT32 drive with Cygwin 1.5.19 Date: Fri, 3 Feb 2006 16:55:39 -0000 Message-ID: <000e01c628e2$a919d440$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000F_01C628E2.A919D440" In-Reply-To: <020320061601.21273.43E37E5F0001765F0000531922007610640A050E040D0C079D0A@comcast.net> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam ------=_NextPart_000_000F_01C628E2.A919D440 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 03 February 2006 15:46, Corinna Vinschen wrote: > On Feb 3 08:42, Jerry D. Hedden wrote: >> 'chmod' does not work on FAT32 drive under Cygwin 1.5.19 > > That's not a bug, it's a "feature" of FAT32. FAT and FAT32 have no way > to keep security information. Convert your filesystem to NTFS if you > want that. > > And, just in case somebody mentiones the 'ntea' option: FAT32 has no > support for extended attributes. On 03 February 2006 16:02, Eric Blake wrote: >> 'chmod' does not work on FAT32 drive under Cygwin 1.5.19 > > Welcome to the wonderful world of FAT32. (NTFS is MUCH nicer). > http://cygwin.com/faq/faq-nochunks.html#faq.using.chmod > There are inherently NO permissions on FAT32, with no way to add it, so > cygwin fakes success on chmod without doing anything. It occurs to me that that FAQ entry could be better worded to make it clear that FAT != FAT32. The entry in the UG section on the $CYGWIN environment variable is already clear, but how about something like the attached, or perhaps it would be even clearer if it listed which OS versions use which fat versions? cheers, DaveK -- Can't think of a witty .sigline today.... ------=_NextPart_000_000F_01C628E2.A919D440 Content-Type: application/octet-stream; name="faq-patch.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="faq-patch.diff" --- faq-nochunks.html 2006-02-02 04:46:03.000000000 +0000 +++ faq-nochunks.new.html 2006-02-03 16:48:41.935763200 +0000 @@ -595,7 +595,7 @@ must create the whatis database. Just r

4.15.

Why doesn't chmod work?

= ntsec will allow UNIX permissions in Windows NT = on NTFS file systems. This is on by default (a recent change).

ntea works on NTFS and FAT but it creates a huge, -undeletable file on FAT filesystems. +undeletable file on FAT filesystems. No= te that it does not work on the modern F= AT32 filesystem, only the older (FAT12 and FAT16) variants.

(The ntsec and nte= a settings are values for the CYGWIN environment variable. See the Cygwin Us= er's Guide at http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html for more ------=_NextPart_000_000F_01C628E2.A919D440 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ------=_NextPart_000_000F_01C628E2.A919D440--