[Info-vax] OpenVMS V9.2-1 Password policy

Dave Froble davef at tsoft-inc.com
Fri Jul 21 20:26:35 EDT 2023


On 7/21/2023 7:41 PM, Single Stage to Orbit wrote:
> On Fri, 2023-07-21 at 18:53 -0400, Dave Froble wrote:
>>
>> Arne must monitor c.o.v every 5 minutes, or so ...
>>
>> Maybe 7 minutes  :-)
>
> Dear me. :-D It was a good thing though.
>
> Now I have installed all the major compilers. Pascal, Fortran, C work
> fine but for some mysterious reason, the C++ compiler refuses to
> compile code moaning about permission denied trying to open C++
> headers.
>
> For exmaple:
> Alex (KAKAPO) > cxx quick2.cpp
> In file included from DKA0:[USERS.ALEX.CPROGS]QUICK2.CPP;1:1:
> In file included from
> /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/iostream:42:
> /SYS$COMMON/VSICXX$LIB/INCLUDE/LIB_CXX/INCLUDE/__config:1132:46: fatal
> error: cannot open file '/SYS$COMMON/VSICXX$LIB/INCLUDE/SYS$S
> TARLET_C/pthread.h': permission denied
>       (defined(__MINGW32__) && __has_include(<pthread.h>))
>                                              ^
> 1 error generated.
>
> This C++ compiler is VSI-X86VMS-CXX-A1000-230616-1.ZIP, taken right off
> the VSI website.
>
> I've checked and I can see the hesders in the directories from my tst
> account.
>
> But the pthread.h thing makes me suspicious as the code I'm compiling
> just outputs "Hello, world" and uses nothing else!
>

Do you have read access to the file(s)?  A protection violation is usually 
because of access not allowed.

Anything that gets used by everybody should have protection:

(RWED,RWED,RE,RE)

That should be Owner, System, Group, and World, if I remember correctly.

Look at HELP SET PROT

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486



More information about the Info-vax mailing list