delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/03/11:55:49

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
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
In-Reply-To: <020320061601.21273.43E37E5F0001765F0000531922007610640A050E040D0C079D0A@comcast.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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
 </p></td></tr><tr class=3D"question"><td align=3D"left" valign=3D"top"><a =
name=3D"faq.using.chmod"></a><b>4.15. </b></td><td align=3D"left" valign=3D=
"top"><p>Why doesn't chmod work?</p></td></tr><tr class=3D"answer"><td alig=
n=3D"left" valign=3D"top"><b></b></td><td align=3D"left" valign=3D"top"><p>=
<tt class=3D"literal">ntsec</tt> will allow UNIX permissions in Windows NT =
on NTFS file
 systems.  This is on by default (a recent change).
 </p><p><tt class=3D"literal">ntea</tt> works on NTFS <span class=3D"emphas=
is"><em>and</em></span> FAT but it creates a huge,
-<span class=3D"bold"><b>undeletable</b></span> file on FAT filesystems.
+<span class=3D"bold"><b>undeletable</b></span> file on FAT filesystems. No=
te that it does <span class=3D"bold"><b>not</b></span> work on the modern F=
AT32 filesystem, only the older (FAT12 and FAT16) variants.
 </p><p>(The <tt class=3D"literal">ntsec</tt> and <tt class=3D"literal">nte=
a</tt> settings are values for the
 <tt class=3D"literal">CYGWIN</tt> environment variable.  See the Cygwin Us=
er's Guide at
 <a href=3D"http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html" target=3D"_=
top">http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html</a> 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019