Date: Tue, 12 Jun 2001 20:53:12 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Martin Stromberg Message-Id: <6480-Tue12Jun2001205312+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <200106121248.OAA13636@lws256.lu.erisoft.se> (message from Martin Stromberg on Tue, 12 Jun 2001 14:48:30 +0200 (MET DST)) Subject: Re: .files on servers are perceived as readonly References: <200106121248 DOT OAA13636 AT lws256 DOT lu DOT erisoft DOT se> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Martin Stromberg > Date: Tue, 12 Jun 2001 14:48:30 +0200 (MET DST) > > Eli said: > > > From: Martin Str|mberg > > > Date: Sat, 9 Jun 2001 18:47:27 +0200 (MEST) > > > > > > According to Eli Zaretskii: > > > > > Because there's a readonly attribute. If you want a file readonly you > > > > > set this attribute not the SYSTEM or HIDDEN bits. > > > > > > > > So you are saying that a file with a HIDDEN or SYSTEM attribute set > > > > > > Those usually do have the readonly bit set too > > > > Not always. Look in the C:\windows directory on any Windows system, > > and you will see quite a few files and directories that are hidden or > > system, but not readonly. > > Yes. And are those directories readonly? Not on my machine. In general, DOS and Windows programs never set the readonly bit of directories because DOS/Windows system calls ignore that bit when they deal with directories.