A hack to make sure access() will give us the correct answer about the
accessability of an "empty" directory. Thsi *is* weird, and a better solution will be provided in apps/ca.c, when I get time to hack at it.
This commit is contained in:
parent
3ebf0be142
commit
07fc35519e
@ -97,10 +97,18 @@ $ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.certs]
|
|||||||
$ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.crl]
|
$ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.crl]
|
||||||
$ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.newcerts]
|
$ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.newcerts]
|
||||||
$ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.private]
|
$ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.private]
|
||||||
|
$
|
||||||
$ OPEN /WRITE ser_file 'CATOP']serial.
|
$ OPEN /WRITE ser_file 'CATOP']serial.
|
||||||
$ WRITE ser_file "01"
|
$ WRITE ser_file "01"
|
||||||
$ CLOSE ser_file
|
$ CLOSE ser_file
|
||||||
$ APPEND/NEW NL: 'CATOP']index.txt
|
$ APPEND/NEW NL: 'CATOP']index.txt
|
||||||
|
$
|
||||||
|
$ ! The following is to make sure access() doesn't get confused. It
|
||||||
|
$ ! really needs one file in the directory to give correct answers...
|
||||||
|
$ COPY NLA0: 'CATOP'.certs].;
|
||||||
|
$ COPY NLA0: 'CATOP'.crl].;
|
||||||
|
$ COPY NLA0: 'CATOP'.newcerts].;
|
||||||
|
$ COPY NLA0: 'CATOP'.private].;
|
||||||
$ ENDIF
|
$ ENDIF
|
||||||
$!
|
$!
|
||||||
$ IF F$SEARCH(CATOP+".private"+CAKEY) .EQS. ""
|
$ IF F$SEARCH(CATOP+".private"+CAKEY) .EQS. ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user