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

Hein RMS van den Heuvel heinvandenheuvel at gmail.com
Thu Feb 10 20:06:07 EST 2011


On Feb 10, 7:30 pm, samizahra <sami.z.za... at intel.com> wrote:

> > > How can I force the batch job to create log file with this protection
> > > (RWED,RWED,RWED,RE)

You could do what I suggest in your earlier identical topic:

$ set secu /log/acl=(default,S:RWED,O:RWED,G:RWED,W:RE) xxx.dir.


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

And did you properly check the result?
That does work:

$ cre/dir [.dps]
$ set sec/acl=(ident=[*,*], option=default, access=read+write+exec)
dps.dir
$ cre [.dps]tmp.tmp
test
$ dir /own/prot [.dps]tmp.tmp
TMP.TMP;1            [HEIN]                           (RWED,RWED,,)

But now look at the details:

$ dir /own/prot [.dps]tmp.tmp/SECU
TMP.TMP;1            [HEIN]                           (RWED,RWED,,)
          (IDENTIFIER=[*,*],ACCESS=READ+WRITE+EXECUTE)

There is an extra ace which should grant access.
But you could also just change the default protection as I suggested
in your earlier identical topic.

$ cre/dir [.dps]
$ set secu /acl=(default,S:RWE,O:RWE,G:RWE,W:RWE) dps.dir.
$  cre [.dps]tmp.tmp
test
$  dir /own/prot [.dps]tmp.tmp/secu
TMP.TMP;1            [HEIN]
(RWE,RWE,RWE,RWE)

Just to be sure I also tried with a batch job log. That also works.

Hein



More information about the Info-vax mailing list