delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/12/15:00:27

Date: Tue, 12 Jun 2001 20:53:12 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Martin Stromberg <Martin DOT Stromberg AT epl DOT ericsson DOT se>
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

> From: Martin Stromberg <Martin DOT Stromberg AT epl DOT ericsson DOT se>
> Date: Tue, 12 Jun 2001 14:48:30 +0200 (MET DST)
> 
> Eli said:
> > > From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
> > > 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.

- Raw text -


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