Linux and file creation/copying

Bruce Easton bruce at stn.com
Fri Oct 3 12:03:44 PDT 2008


(Inline responses - Bruce Easton, STN, Inc.)

> Kenneth Brody wrote Friday, October 03, 2008 12:26 PM
>
> > ----- Forwarded message from Bruce Easton <bruce at stn.com> -----
> >
> >> On at least three of the various types of Linux boxes we
> support, I am not
> >> able to create filepro files, nor fpcopy files.
>
> What happens when you try?

(Please see below.)

>
> >> So, when we make/copy them
> >> under Unix and then port them.  I've checked permissions and
> they look good
> >> for files like ddefine, lib/makedir, lib/rename, etc.
>
> Define "look[s] good".
under fp:
-rwsr-xr-x 1 filepro group 403444 Oct 14  2004 ddefine
-rwxr-xr-x 1 filepro group    545 Oct 14  2004 changename
-rwsr-xr-x 1 filepro group 346896 Oct 14  2004 configed
-rwsr-xr-x 1 filepro group 403444 Oct 14  2004 ddefine
-rwsr-xr-x 1 root    group 386176 Oct 14  2004 ddir
-rwsr-xr-x 1 filepro group 339324 Oct 14  2004 dexpand
-rwsr-xr-x 1 filepro group 435012 Oct 14  2004 dxmaint
-rwsr-xr-x 1 filepro group 365332 Oct 14  2004 fpcopy
drwx------ 2 root    root    4096 Sep 30  2005 scripts
(everything under scripts is root:root  and 700)
(The rest of the fp 'executables' are all filepro:group 4755,
but **weirdly**, when I ran the 'setperms' program just now AFTER
the testing results & error messages received that I show below,
all the fp 'executables' go to 755 instead of 4755 - but in any
event I get the same behavior from ddefine/fpcopy).

under fp/lib:
-rw-rw-rw- 1 root    group   1348 Apr 14 19:08 config
-rw-r--r-- 1 filepro group   5488 Apr 11 10:44 edits
-rw-r--r-- 1 filepro group   4375 Jan 23  2003 errmsg
-rwxr-xr-x 1 filepro group 257360 Jul  6 10:15 freechain
-rwxr-xr-x 1 root    group  37092 Mar 30  2006 makedir
-rwxr-xr-x 1 root    group    716 Mar 22  2001 rename

Root dir is: drwxr-xr-x 25 root bin 4096 Sep 20 05:57 /
then:
drwxr-xr-x 6 filepro group 4096 Aug 15 08:46 appl
and under /appl:
drwx------ 62 filepro group 4096 Sep 23 10:55 filepro
lrwxrwxrwx  1 root    group   12 Aug 14 09:56 fp -> fp_v5.0.14D4
drwxr-xr-x  8 filepro group 4096 Jul  6 10:12 fp_v5.0.14D4

>
> >> I believe saw in the
> >> release notes for 5.6.02 where an issue was resolved relating
> to fpcopy that
> >> sounded like this, but I wasn't sure if this applied to
> ddefine as well.
>
> Item #926 was fpcopy only.
>
> >> Does anyone know if there is anything that can be done to get
> rid of this
> >> problem under 5.0.14 on Linux?
> [...]
>
> You'll need to specify the problem in more detail.  What error(s)
> do you get?

On two different client's systems, one
"Red Hat Enterprise Linux Server release 5.2 (Tikanga)",
(client's install)
and one "Red Hat Enterprise Linux ES release 3 (Taroon Update 6)",
(our install)
both running filepro 5.0.14, (under the condition of permissions I
listed above [prior to me as a last step running setperms]),
all the following behavior is the same:
when trying to create file 'test' from Define Files,
the error message is:
*** A System Error Has Occurred ***
Cannot open file.
/appl/filepro/test/map: No such file or directory

> Does the new directory get created?

No - the directory for 'test' is not created.

> If not, what happens if you manually
> create the directory first?

Then it works fine.  Also - I tried making a new directory owned by
filepro for 'test2' and then fpcopy worked fine
(to copy 'test' to 'test2'), whereas previously
that would issue only "*** A filePro Error Has Occurred ***".

>
> Does it work on other Linux boxes, and of so, what's different between the
> ones that work and the ones that don't?

There is a box I can't get to now that was behaving the
same way - I've been trying to think of one we've supported
that isn't behaving this way and so far I cannot think
of one.

>
> --
> KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
> http://www.hvcomputer.com
> http://www.fileProPlus.com
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>



More information about the Filepro-list mailing list