[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

881.0. "VICFAX and SHARED DIRECTORIES" by KEMER::YEGEN (the HOTLINE dude) Wed Jun 17 1992 12:37

We have a problem with one of our customers. We sold them VICFAX and integrated
it to ALL-IN-1 V2.4. So when a user A sends document to user B, it is put
as usual to a shared directory with no rights for world and group access.

If user B wants to read this message he types some letters under EM menu 
which then runs a script. This script determines the location of the message
like OA$SHARE101:XXXXXX.TXT, spawns to VMS  and types it to screen.

But since the protections are not set correctly it results in an error.

The question is how can the message be given RE rights for WORLD before being 
put into the shared area.

Or is there any other suggestion for accomplishing this.

Best regards,

Tansu YEGEN @TWI

T.RTitleUserPersonal
Name
DateLines
881.1Copy it?IOSG::MAURICEA week is a long time in office politicsWed Jun 17 1992 12:4911
    Hi,
    
    I don't think you want to mess with the protections on the shared areas
    for some very good reasons. The simple approach would be to copy the
    file to a temporary file and pass the new filename to your VICFAX
    program (and delete it afterwards). This should only be a small change
    to your script.
    
    Cheers
    
    Stuart
881.2KEMER::YEGENthe HOTLINE dudeWed Jun 17 1992 13:0411
    Sorry if I am wrong, but I am not quite sure if the change will be
    effective, since it is very easy to implement your suggstion. Would the
    script be able to make a copy of the document from the shared area
    since it is activated from the users account who has no access to this
    document.
    
    Best regards,
    
    Tansu YEGEN @TWI
    
    
881.3Use the ALL-IN-1 COPY FUNCTIONIOSG::MAURICEA week is a long time in office politicsWed Jun 17 1992 14:056
    The script can use the ALL-IN-1 COPY function to make the copy. This
    function will raise ALL-IN-1's privileges to do the copy.
    
    Cheers
    
    Stuart
881.4KEMER::YEGENthe HOTLINE dudeWed Jun 17 1992 14:286
    Thank you very much for your help. Is there also a type function in
    ALL-IN-1 which can do the trick.
    
    Thank you very much,
    
    Tansu YEGEN@TWI
881.5LIST functionIOSG::MAURICEA week is a long time in office politicsWed Jun 17 1992 14:365
    Yes there is the LIST function.
    
    Cheers
    
    Stuart
881.6See OA$LIB:WPPRUNOFF.COMIOSG::NEWLANDRichard Newland, IOSG, REO1-D/4AWed Jun 17 1992 14:5217
For an example of how to do this look at the OA$LIB:WPPRUNOFF.COM command
procedure and the RUNOFF Format Master entry.  This procedure has to cope
with exactly the same type of problem because when the RUNOFF program runs
it also cannot access files in the shared directories because of their
protection. 

If your script is invoked by being a Print and/or Read function defined in
a FORMAT master entry then an input symbol will be set to indicate if the
file is in a shared directory. 

Have you reported this problem to the VICFAX group, because it appears to 
be a situation they should be dealing with.  There is a notes conference at 
AUSSIE::VICFAX.


Richard