Mail Archives: djgpp/2002/05/23/04:30:23
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 -