Date: Sat, 09 Jun 2001 09:29:06 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Martin Str|mberg Message-Id: <7458-Sat09Jun2001092906+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: <200106090103.DAA18709@mother.ludd.luth.se> (message from Martin Str|mberg on Sat, 9 Jun 2001 03:03:53 +0200 (MEST)) Subject: Re: .files on servers are perceived as readonly References: <200106090103 DOT DAA18709 AT mother DOT ludd DOT luth 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 Str|mberg > Date: Sat, 9 Jun 2001 03:03:53 +0200 (MEST) > > /* File size. */ > statbuf->st_size = ff_blk.ff_fsize; > > /* Mode bits. */ > statbuf->st_mode |= READ_ACCESS; > if ( !(ff_blk.ff_attrib & 0x07) ) /* no R, H or S bits set */ > statbuf->st_mode |= WRITE_ACCESS; > > /* Sometimes `_truename' doesn't return X:/FOO for character > devices. However, FindFirst returns attribute 40h for them. */ > if (ff_blk.ff_attrib == 0x40) > > > I don't think HIDDEN or SYSTEM attibutes should be mapped to readonly. It was like that since DJGPP v2.0 at least, maybe before that. We've got to have a very good reason to change that now. Why do you think these attributes shouldn't be mapped to readonly? Also, how come .cvsignore got the hidden and system attribute bits set? They aren't on my box where I use CVS to sync with the DJGPP tree. (Does "ls -lg" indeed show these two attributes?)