www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/23/04:30:23

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP Install Problems (DOSemu/FreeDOS beta 8)
Date: 23 May 2002 07:16:46 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 34
Message-ID: <aci50u$5ep$1@antares.lu.erisoft.se>
References: <2f64dfca DOT 0205220347 DOT 19c11bad AT posting DOT google DOT com> <acg2n8$ck7$1 AT antares DOT lu DOT erisoft DOT se> <2f64dfca DOT 0205221125 DOT 7fbe18d1 AT posting DOT google DOT com> <slrnaeogjl DOT jj2 DOT enbeo AT pg5 DOT enm DOT bris DOT ac DOT uk>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Bart Oldeman (enbeo AT pg5 DOT enm DOT bris DOT ac DOT uk) wrote:
: However, DOSEMU uses a certain mapping between DOS and Unix file 
: attributes/permissions:

: DOS attribute 	UNIX
: read-only    <->not writable (1)
: archive	     <->not executable (2)
: hidden	     <- filename starts with a dot and is not '..' (3)

: Don't ask me why this is so, I don't know.

samba is doing similar things. I think it's because if you want to
have DOZE specific attributes you have to have somewhere to put them.

May I suggest that you only use one of the x bits to record the a bit.

: The problem is probably that your DOS program did the equivalent of

: attrib +a djgpp

: which resets the x bit.

: attrib -a djgpp
: sets the x bit again.

: Maybe rule (2) should be ignored for directories.

That's a possible solution. But you might consider looking up the
samba way.


Right,

						MartinS

- Raw text -


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