Permissions on a SCO Unix exported file

Kenneth Brody kenbrody at bestweb.net
Thu Oct 18 12:50:24 PDT 2007


Quoting Mike Schwartz (Thu, 18 Oct 2007 13:19:50 -0500):
[...]
>      User "filepro" probably just doesn't have permission to create files in
> the individual user subdirs (IE, /u/mike),

That's possible.

> even though all users are members
> of the groups "filepro" and "group" and user filepro is a member of the
> groups filepro and group.  For example, the permissions on "mike" are
> drwxr-xr-x (note the lack of a "w" for group),

Which, as I recall, means that the group cannot create/delete files in
that directory.

> so this code is not working,
> even though we are in the same groups:
>
> 25  -------   -   -   -   -   -   -   -   -   -  -   -   -
>         If:
>       Then: fn(40,*)="/u/" {@ID {"/HDpurch" {fm {".txt" {""
> 26  -------   -   -   -   -   -   -   -   -   -   -   -   -
>         If:
>       Then: system ">" {fn {""
> 27  -------   -   -   -   -   -   -   -   -   -   -   -   -
>         If:
>       Then: system "chmod a+rwx" <fn {""
> 28  -------   -   -   -   -   -   -   -   -   -   -   -   -
>         If:
>       Then: export ascii HDO = (fn)   r=\n  f=\t
>
>      I can't track it down any further using debug, because filePro appears
> to be attempting to create the output files as specified on the output
> statements -before- any other lines of code are executed.

What makes you believe that?  (Consider for the moment the ramifications
of that statement.  It would mean that filePro would create the export
file before it calculated the filename to create.)

>  For example, if I
> start dreport with -db, at the first debug prompt that appears, I set a
> breakpoint on line 25, but as soon as I press "C" to continue, I get the -1
> filePro error.

(And again, what is the complete error?  Your quote says that a system
error occurred, but then said "filePro error -1".  Did it give a system
error message?)

Okay.  You told filePro to "C"ontinue processing, which means it did
just that -- it continued running processing, and got the error again
on the export statement.  You want to "S"tep (or Enter) to single-step
the processing.

[...]

-- 
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list