Re: [Freedos-user] File Access denied

2008-01-17 Thread Eric Auer

Hi! (please use plain text mail without html)

 Is there anybody that runs Foxbase+ V.2.0 for DOS on FreeDOS?
 What I am trying to achieve is run a foxbase application on Linux
 with DOSEMU and freedos. Right.

Maybe you get better results if you load SHARE... Please also
compare diskimage (can be diskette or special DOSEMU FAT16 as
generated by dosemu tools) drives to Linux directory used as
drive drives.

Problems when several users access the same file sound like
shared file access problems :-).

 Even though no one is editing the file. The users should still be able
 to view the database even if no one is editing the current dbf file.

Eric



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] File Access denied

2008-01-17 Thread Keith Williams
Hi Eric,

I did load share. Sorry I should have mentioned that. For testing
purposes, linux permissions are open on 777 recursively, but still the
same problem. I have been struggling with this for 2 months allready.
Even tried putting the shared files on a CIFS server. Same results.

Keith

On Jan 17, 2008 4:33 PM, Eric Auer [EMAIL PROTECTED] wrote:

 Hi! (please use plain text mail without html)


  Is there anybody that runs Foxbase+ V.2.0 for DOS on FreeDOS?
  What I am trying to achieve is run a foxbase application on Linux
  with DOSEMU and freedos. Right.

 Maybe you get better results if you load SHARE... Please also
 compare diskimage (can be diskette or special DOSEMU FAT16 as
 generated by dosemu tools) drives to Linux directory used as
 drive drives.

 Problems when several users access the same file sound like
 shared file access problems :-).




  Even though no one is editing the file. The users should still be able
  to view the database even if no one is editing the current dbf file.

 Eric




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] File Access denied

2008-01-17 Thread Alain M.
What has been said here, a few months back, is that Samba server and 
CIFS clent is working ok with file locks.

Also you should check wich version of FreeDOS you are using. It couls be 
helpfull do test with MS-DOS to make sure where the problem is.

Of course, I assume that your works ok, with se same configuration on a 
non-dosemu setup ;-)

Alain

Keith Williams escreveu:
 Hi Eric,
 
 I did load share. Sorry I should have mentioned that. For testing
 purposes, linux permissions are open on 777 recursively, but still the
 same problem. I have been struggling with this for 2 months allready.
 Even tried putting the shared files on a CIFS server. Same results.
 
 Keith
 
 On Jan 17, 2008 4:33 PM, Eric Auer [EMAIL PROTECTED] wrote:
 Hi! (please use plain text mail without html)


 Is there anybody that runs Foxbase+ V.2.0 for DOS on FreeDOS?
 What I am trying to achieve is run a foxbase application on Linux
 with DOSEMU and freedos. Right.
 Maybe you get better results if you load SHARE... Please also
 compare diskimage (can be diskette or special DOSEMU FAT16 as
 generated by dosemu tools) drives to Linux directory used as
 drive drives.

 Problems when several users access the same file sound like
 shared file access problems :-).


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] File Access denied

2008-01-17 Thread Tom Ehlert

 I did load share.
that doesn't matter. share is useful to access files on the FreeDOS
harddisk, but it seems that your .DBF is located on the linux box

 Sorry I should have mentioned that. For testing
 purposes, linux permissions are open on 777 recursively, but still the
 same problem. I have been struggling with this for 2 months allready.
 Even tried putting the shared files on a CIFS server. Same results.

Does Foxbase allow to share file acces ? this would require an open in
read-only, sharing access. This might also depend on the application

Tom



 Keith

 On Jan 17, 2008 4:33 PM, Eric Auer [EMAIL PROTECTED] wrote:

 Hi! (please use plain text mail without html)


  Is there anybody that runs Foxbase+ V.2.0 for DOS on FreeDOS?
  What I am trying to achieve is run a foxbase application on Linux
  with DOSEMU and freedos. Right.

 Maybe you get better results if you load SHARE... Please also
 compare diskimage (can be diskette or special DOSEMU FAT16 as
 generated by dosemu tools) drives to Linux directory used as
 drive drives.

 Problems when several users access the same file sound like
 shared file access problems :-).




  Even though no one is editing the file. The users should still be able
  to view the database even if no one is editing the current dbf file.

 Eric




 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user



Mit freundlichen Grüßen/Kind regards
Tom Ehlert
+49-241-79886


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] File Access denied

2008-01-17 Thread john s wolter
The Clipper DB, a dBase language compiler, had locking mechanisms that were
similar if not the same as the FoxPro as I recall.  I had a book or a
document that covered these issues but I can't take the time to look it up
until this weekend.  Sorry.  Just remind me on Saturday morning to go look
for the reference.

Right now I can give you some links to projects that have dealt with these
file locking and permissions issues.  The Harbor
Projecthttp://www.harbour-project.org/is an Open Source Clipper DB
like or clone that has an MS-DOS version.  I
have programmed applications for MS-DOS using Clipper DB which did give me
some trials and challenges when trying to prove the locking worked as
expected.  The Harbor Project http://www.harbour-project.org/ used the
same API's with some helper code.

The problem may be more of the way FoxPro interpreted the MS-DOS locking
API.  The other part of the issue as I recall was that the MS-DOS API
required a fair amount of extra helper code to be usable.  As I remember
some Assembly is required.

The Oasis Clipper source archive http://www.the-oasis.net/index.php3 may
be a source of locking coding examples for Clipper.  That may give you some
ideas as to what the FoxPro issue may be.  A Clipper news
groupnews:comp.lang.clipperis also mentioned on that page where you
may get information.  I'm sure
there is also a FoxPro version of that news group.

Cross OS's file permission information is a long discussed issue on the
Samba.org http://www.samba.org web site.  Samba has a way to share drives
MS-DOS system.  The rub there, as you mention, is the LINUX permission
system.  Add to that the locking issues and things get interesting.

Does anybody have a debugger or debugging solution for observing file locks
or file permissions.  This appears to me to be a problem with all OS's.  It
is much the same problem as I struggle with LINUX, Win OS's, and the MAC
environments.  I hate writing debugging code all the time.

Links:
http://www.harbour-project.org/
http://www.the-oasis.net/index.php3
news:comp.lang.clipper
http://www.samba.org/

On Jan 17, 2008 11:43 AM, Tom Ehlert [EMAIL PROTECTED] wrote:


  I did load share.
 that doesn't matter. share is useful to access files on the FreeDOS
 harddisk, but it seems that your .DBF is located on the linux box

  Sorry I should have mentioned that. For testing
  purposes, linux permissions are open on 777 recursively, but still the
  same problem. I have been struggling with this for 2 months allready.
  Even tried putting the shared files on a CIFS server. Same results.

 Does Foxbase allow to share file acces ? this would require an open in
 read-only, sharing access. This might also depend on the application

 Tom



  Keith

  On Jan 17, 2008 4:33 PM, Eric Auer [EMAIL PROTECTED] wrote:
 
  Hi! (please use plain text mail without html)
 
 
   Is there anybody that runs Foxbase+ V.2.0 for DOS on FreeDOS?
   What I am trying to achieve is run a foxbase application on Linux
   with DOSEMU and freedos. Right.
 
  Maybe you get better results if you load SHARE... Please also
  compare diskimage (can be diskette or special DOSEMU FAT16 as
  generated by dosemu tools) drives to Linux directory used as
  drive drives.
 
  Problems when several users access the same file sound like
  shared file access problems :-).
 
 
 
 
   Even though no one is editing the file. The users should still be
 able
   to view the database even if no one is editing the current dbf
 file.
 
  Eric
 
 
 

 
 -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  Freedos-user mailing list
  Freedos-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/freedos-user



 Mit freundlichen Grüßen/Kind regards
 Tom Ehlert
 +49-241-79886


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user




-- 
John S. Wolter President
Wolter Works
Mailto:[EMAIL PROTECTED]
Desk 1-734-665-1263
Cell: 1-734-904-8433
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] File Access denied

2008-01-17 Thread Keith Williams
Thanks for everybody's suggestions! It's great to finally get some
input on this.

Ok, maybe it would simplify things if I tell what I have tried...

I have tried:

1. Different DOSEMU versions, v1.2 through v1.4 (+beta) - with
different DOS version mentioned in point 2.
2. Different DOS systems, (MS-DOS 4 to 6.22, Dr.DOS, FreeDOS and even
Windows 95 (ver.7)
3. Different server-side file sharing capabilities, NFS, SAMBA, etc.

The ONLY working one under test scenarios was dosbox, but it did not
help me any bit because dosbox has no printing support! Yes I know
printing to a file and then printing out of the Linux system is a
option, but it is not feasible in my clients situation or his program.

I am beginning to think that the problem might be with dosemu +
foxbase, because dosbox works so perfectly. Unfortunatly dosbox has no
console-only (run without X) and printing support, otherwise it
would have been done by now...

Thanks for all the help!

My next step would be to go CentOS + IBCS-3.4 with userspace x286emul.
(Anyone got experience with that?)

Regards,

Keith Williams




On Jan 17, 2008 5:04 PM, Keith Williams [EMAIL PROTECTED] wrote:
 Hi Eric,

 I did load share. Sorry I should have mentioned that. For testing
 purposes, linux permissions are open on 777 recursively, but still the
 same problem. I have been struggling with this for 2 months allready.
 Even tried putting the shared files on a CIFS server. Same results.

 Keith


 On Jan 17, 2008 4:33 PM, Eric Auer [EMAIL PROTECTED] wrote:
 
  Hi! (please use plain text mail without html)
 
 
   Is there anybody that runs Foxbase+ V.2.0 for DOS on FreeDOS?
   What I am trying to achieve is run a foxbase application on Linux
   with DOSEMU and freedos. Right.
 
  Maybe you get better results if you load SHARE... Please also
  compare diskimage (can be diskette or special DOSEMU FAT16 as
  generated by dosemu tools) drives to Linux directory used as
  drive drives.
 
  Problems when several users access the same file sound like
  shared file access problems :-).
 
 
 
 
   Even though no one is editing the file. The users should still be able
   to view the database even if no one is editing the current dbf file.
 
  Eric
 
 
 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user