[Info-vax] File Protection issue - one more try

samizahra sami.z.zahra at intel.com
Thu Feb 10 19:30:54 EST 2011


On Feb 10, 3:02 pm, Jan-Erik Soderholm <jan-erik.soderh... at telia.com>
wrote:
> samizahra wrote 2011-02-10 23:55:
>
>
>
>
>
> > The user account login.com has this line:
> >              $ set protection=(g:rwed,w:re)/default
>
> > I use edit and create a new file FILE_TEST.COM
> > the protection on this file will be:
> >               FILE_TEST.COM;1      [GRP1500,DPS]
> > (RWED,RWED,RWED,RE)
>
> > Then the same user account will submit a batch job:
> >                submit/queue=SMASH$KICKOFF$BATCH -
> >                            /name="testing File prot.." -
> >                            /log=IMOACT:[DPS]FILE_TEST.log -
> >                                              IMOACT:[DPS]FILE_TEST.Com
>
> > The protection on the log file FILE_TEST.log is:
> >                FILE_TEST.LOG;1      [GRP1500,DPS]
> > (RWED,RWED,RE,)
>
> > My question is:
>
> > why the batch job creates the log file without world protection?
> > How can I force the batch job to create log file with this protection
> > (RWED,RWED,RWED,RE)
>
> > Sami
>
> When the "set prot" command is executed, as part of the login
> process, the log file has already been created ! The command
> in the login.com files is "to late", so to speak.
>
> Just doing "set protection=(....)/default" does *not* change
> the protaction of already existing files !
>
> An ACL on the IMOACT:[000000]DPS.DIR file with a "option:default"
> option would probably solve your problem.
>
> You could also have some other process (such as a separate
> batch job submitted at the end of the FILE_TEST.Com file)
> that only set the protection on the actual log file. Or some
> batch job runed regulary that does that ? Or...- Hide quoted text -
>
> - Show quoted text -

This is what I did
$ set sec/acl=(ident=[*,*], option=default, access=read+write+exec)
dps.dir

IMODV1:[COMDAY]--> dire dps.dir/prot/acl
	DPS.DIR;1            (RWED,RWED,RE,E)
          (IDENTIFIER=[*,*],OPTIONS=DEFAULT,ACCESS=READ+WRITE+EXECUTE)

Then I submitted a job to run on a que
And the file protection on the log file did not change

Directory IMOACT:[DPS]

FILE_TEST.COM;1      [GRP1500,DPS]
(RWED,RWED,RWED,RE)
FILE_TEST.LOG;1      [GRP1500,DPS]                    (RWED,RWED,RE,)



I will keep trying

Thanks

Sami



More information about the Info-vax mailing list