OPENDIR() using a cifs file system mount

Walter Vaughan Jr wvaughan at steelerubber.com
Fri Jun 14 05:16:49 PDT 2019


If you had moved from windows to linux NAS I would have thought it could have been .XML vs .xml, but I would make sure you have the "Everyone" security group set to full control and R/W on the window nas's folder.

-----Original Message-----
From: Filepro-list <filepro-list-bounces+wvaughan=steelerubber.com at lists.celestial.com> On Behalf Of Nancy Palmquist via Filepro-list
Sent: Thursday, June 13, 2019 5:35 PM
To: filePro Mailing List <filepro-list at lists.celestial.com>
Subject: OPENDIR() using a cifs file system mount

Fellow Filepro users,

I have run into an issue using a Linux version of filepro 5.0 and we store historical data on a cifs mounted device.  FilePro needs to read the filenames and move the files to permanent storage based on some information.

So generally the files are dropped in a tmp folder, filepro uses
OPENDIR() to get an array with the file names, we lookup the order and then move the file to an archive folder based on the looked up info.

This worked great until the drive failed and we had to replace it.

cifs mount on the Linux side was setup the same.  I added commands to the mount to set the owner, group, file modes and directory modes.  I setup the drive as Read/Write.  I can export a file into the TMP folder.  I can use SYSTEM "ls -l TMPFOLDER" and get a directory listing.
But aa=opendir("*.xml",TMPFOLDER) returns 0 files (There are a few hundred in the folder)

Any ideas?

I expect the NAS device we had to put in place in this emergency is not functioning correctly.  It is WINDOWS based and the one that crashed was LINUX based.

Is there something else I should be checking before I reprogram the logic using another method than OPENDIR()???

Nancy

--
Nancy Palmquist
Owner
Virtual Software Systems - www.vss3.com
(412) 835-9417

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20190613/e51487bc/attachment.html>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list


More information about the Filepro-list mailing list