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: References: <2f64dfca DOT 0205220347 DOT 19c11bad AT posting DOT google DOT com> <2f64dfca DOT 0205221125 DOT 7fbe18d1 AT posting DOT google DOT com> 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