Sco Openserver permissions problem

Fairlight fairlite at fairlite.com
Thu Nov 29 07:56:55 PST 2012


On Thu, Nov 29, 2012 at 09:29:27AM -0600, Mike Schwartz thus spoke:
>      Using SCO Openserver 5.0.7 and filePro 5.0.13:
> 
>      I had some test code working properly last night, but this morning I am
> getting a Unix permission error whenever I try to print to a file.  
> 
>      Here is what debug looks like:
> 
> [ True }
> Prc. Name: GLTVHOx
>            If:  'Create the print file, change its permissions
> 114  Then:  DC=">DF; chmod 666 DF"; system noredraw DC
> Enter Command > sh: DF: cannot create
> chmod: WARNING: cannot access DF: No such file or directory (error 2)

#define ENOENT  2       /* No such file or directory            */

Here's your likely problem:  you're treating DF as a string literal instead
of as a variable containing a filename.  I believe you want:

Then: DC=">"{DF{"; chmod 666"<DF ; system noredraw DC

The rest of your issues seemed to be a chain reaction to this file not
being created, because you were trying to create a literal file "DF" with
malformed code.

mark->


More information about the Filepro-list mailing list