VOGONS

Common searches


First post, by mbond

User metadata
Rank Newbie
Rank
Newbie

My problem:

On a windows computer, I copy the edit.com program (to edit text files under DOS) in a XLINUX directory;

On a Linux computer, LAN connected to the Windows computer, I mount the XLINUX directory.
With a text editor I create a file X.TXT in XLINUX;

Still on the Linux computer, I start DosBox, and MOUNT the xLINUX directory.
I enter TYPE X.TXT and it works ok.
I enter edit.com X.TXT and try to modify X.TXT: it says it's read-only.
I EXIT DosBox: I can edit X.TXT from Linux.

Why that!? what can I do? I would be grateful for any help.

(I have the same problem if I use dBase instead of edit.com).
(I have the same problem with a NAS server instead of a Windows machine).
(Without the LAN, with XLINUX on a USB key, everything works fine).

Reply 1 of 3, by mbond

User metadata
Rank Newbie
Rank
Newbie

Another way to state the problem:
-I mount the Windows share on Linux through a network;
-I am in the directory /run/user/1000/gvfs/smb-share:server=c2000,share=h/xLINUX
and I can modify the files.

-With DosBox I issue the commands:
MOUNT h /run/user/1000/gvfs/smb-share:server=c2000,share=h/xLINUX
h:
the files are read-only.

I would be very grateful for any help.

Reply 3 of 3, by Ringding

User metadata
Rank Member
Rank
Member

No wait, I can reproduce it, using edit.com, like you did. The other editor that I used earlier (IBM’s E) had no problem writing the file. Likely has something to do with SHARE.EXE emulation.