maybe an answer for - Mike Schwartz - Sco Openserver permissions problem
Mike Schwartz
mschw at athenet.net
Sat Dec 1 06:36:41 PST 2012
> I am not sure if this will help, but I think this might be the solution to his
> problem:
>
> I have this working for one of my clients
>
> First the permission on the /tmp should have a sticky bit set
>
> second if the file in the /tmp directory is going to be used by a user other
> than filepro the file should be created with a umask of 0
>
> I run a command
>
> þ If:
> Then: oy(256,*,g)="umask 0; >/tmp/aging"{@id{mt
>
> ------- - - -
> þ If:
> Then: system oy
> ------- - - -
> þ If:
> Then: of(256,*,g)="/tmp/aging"{@id{mt
> ------- - - -
> þ If:
> Then: printer type "laser_ck"; printer file of
>
> use your own variables of course
>
> Something else to watch out for
>
> What is your variable DE
>
> I used mid on a date field to change 10/10/2012 to 10_10_2012 but mistyped
> the result was the excecute command that you're showing...... cause unix of
> course wanted to look at the / as a directory not as part of the field name
>
> After I print to the file, in the same code I change it to a pdf in a different
> directory and then remove the file from /tmp Hope this helps.
>
> Sharon
Thanks, I will play with these ideas.
Mike
More information about the Filepro-list
mailing list