Skip to contentSkip to conversation

Accesing files from a mounted CIFS share - not working?

DISCUSSION Hugo Cardozo 4 participants 7 messages Feb 13, 2009 – Dec 17, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi to all;

I'm using various GNU/Linux distros, specifically Debian Etch and Ubuntu Intrepid Ibex, both with Dosemu 1.4.0 installed and running.

I have a CIFS share, which both distros mount as /mnt/remote (with full R/W permissions), and contains some DOS-programs and files used by those programs. I setup my "C drive" like this:
c:\---

      |---freedos
      |---remote
      |---local

the dir "freedos" containing the OS, the dir "local" just for testing purposes, and "remote" being a symlink to /mnt/remote.

In Debian, I can cd into "c:\remote" and run the DOS-programs and edit my DOS-files in the share just fine.

But not in Ubuntu. I can cd into "c\remote", but when I try to run any DOS-program in the share, it just shows the prompt again. And, when I try to edit the DOS-files, or even try a "type DOS-file.txt", I get a "File not found" error.

Note that I get those errors working with the files in the share, but when I copy the same files out of "c:\remote" (into my local disk, let's say into "c:\local"), everything works! Then I can edit my files and run my programs.

A Dosemu/CIFS/Ubuntu related problem? Any pointing in the right direction will be apreciated :-)

Hugo Segovia

#1 lore raw

Can you look in those files from the same user that dosemu runs as ?

2009/2/13 Hugo Cardozo <[email protected]>:

Quoted 37 lines

Hi to all;

I'm using various GNU/Linux distros, specifically Debian Etch and Ubuntu Intrepid Ibex, both with Dosemu 1.4.0 installed and running.

I have a CIFS share, which both distros mount as /mnt/remote (with full R/W permissions), and contains some DOS-programs and files used by those programs. I setup my "C drive" like this:
c:\---

     |---freedos
     |---remote
     |---local

the dir "freedos" containing the OS, the dir "local" just for testing purposes, and "remote" being a symlink to /mnt/remote.

In Debian, I can cd into "c:\remote" and run the DOS-programs and edit my DOS-files in the share just fine.

But not in Ubuntu. I can cd into "c\remote", but when I try to run any DOS-program in the share, it just shows the prompt again. And, when I try to edit the DOS-files, or even try a "type DOS-file.txt", I get a "File not found" error.

Note that I get those errors working with the files in the share, but when I copy the same files out of "c:\remote" (into my local disk, let's say into "c:\local"), everything works! Then I can edit my files and run my programs.

A Dosemu/CIFS/Ubuntu related problem? Any pointing in the right direction will be apreciated :-)

Hugo Segovia
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 11 lines · El Viernes 13 Febrero 2009 11:22, escribió:

Can you look in those files from the same user that dosemu runs as ?

2009/2/13 Hugo Cardozo <[email protected]>:

Quoted 8 lines

Hi to all;

I'm using various GNU/Linux distros, specifically Debian Etch and Ubuntu Intrepid Ibex, both with Dosemu 1.4.0 installed and running.

I have a CIFS share, which both distros mount as /mnt/remote (with full R/W permissions), and contains some DOS-programs and files used by those programs....

Yes, I can do a "ls /mnt/remote", edit the files in it, copy, move and delete; with any user. The share has full R/W permissions, as I stated. --
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 10 lines · Hugo Cardozo <hugoac2004 <at> gmail.com> writes:

El Viernes 13 Febrero 2009 11:22, escribió:

Quoted 8 lines

Can you look in those files from the same user that dosemu runs as ?

2009/2/13 Hugo Cardozo <hugoac2004 <at> gmail.com>:

Quoted 5 lines

Hi to all;

I'm using various GNU/Linux distros, specifically Debian Etch and Ubuntu Intrepid Ibex, both with Dosemu 1.4.0 installed and running.

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

I have a CIFS share, which both distros mount as /mnt/remote (with full R/W permissions), and contains some DOS-programs and files used by those programs....

Yes, I can do a "ls /mnt/remote", edit the files in it, copy, move and delete; with any user. The share has full R/W permissions, as I stated.

Hi,

I have the same problem since I upgraded from Ubuntu 9.04 to 9.10. Using -D+d9 I see it fails to stat() the directory. Weird because I started dosemu from within that directory. If I bind a drive to that directory dosemu fails to start claiming the directory doesn't exist.

Any hint?

Thanks,
Alejandro Mery

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

2009/11/15 Alejandro Mery <[email protected]>:

Quoted 4 lines

I have the same problem since I upgraded from Ubuntu 9.04 to 9.10. Using -D+d9 I see it fails to stat() the directory. Weird because I started dosemu from within that directory. If I bind a drive to that directory dosemu fails to start claiming the directory doesn't exist.

It has to do with DOSEMU not using 64-bit stat() (on i386, that is) see
http://bugzilla.kernel.org/show_bug.cgi?id=14647
http://sourceforge.net/tracker/?func=detail&atid=457448&aid=2915601&group_id=49784
DOSEMU SVN r1998 now fixed it; alternatively you can specify the noserverino
option when mounting the share.

Bart

A message that is not in the archive (sent off-list or not yet received): op.upanjuz9qw3wu1@titan

#6 lore raw
Quoted 5 lines · El Viernes 13 Febrero 2009 11:22, escribió:

Hi

Is it anything to do with SELinux?

Andrew

I doubt it. Doing a "dmesg | grep -i selinux" in Ubuntu gave me a "SELinux:
Disabled at boot" message. And Debian Etch doesn't use it, AFAIK --
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html