On 2021-02-12 21:47, Anton Lavrentiev wrote:
>> PIP [200,1]/LI/FU
> shows:
>
> LOGIN.CMD;1 (1356,1) 1./1. 18-DEC-1998
> 02:46:23 [200,1] [RWED,R,R,R]
>
> Meaning the file is read-only for USER, GROUP, and WORLD; only SYSTEM
> (UIC member 1-7) are able to edit the file.
Well, technically groups 1-10, not 1-7. But no matter, the difference
isn't making a difference here anyway.
> But the file does belong to [200,1], which the USER's UIC.
>
> So when you logged in as "USER", just change the protection of the
> file, to allow yourself to edit it:
>
>> PIP [200,1]LOGIN.CMD/PR/OW:RWED
>
> then you can edit the file, and you may want to change the protection
> back to read-only with:
>
>> PIP [200,1]LOGIN.CMD/PR/OW:R
>
> Hope this helps.
Good points.
However, I would also like to know what is actually the login directory
of the user? If the OP claims that if he just do a DIR, he sees files in
DU:[USER], then it would suggest that this would be the default and home
directory. In which case, anything in [200,1] shouldn't really matter.
But he, with a system user, edits [200,1]LOGIN.CMD, and that is what is
executed at login, then it sounds as if this is the default and home
directory, and [USER] is pretty irrelevant.
I think some clarification about the account would help, along with a
few details on files and protections.
So, if the OP could show the information for the user USER in ACNT looks
like (just past the whole thing), and the results of the following commands:
PIP DU:[0,0]200001.DIR/FU,USER.DIR,[200,1]LOGIN.CMD,[USER]LOGIN.CMD
Then we should really have all the information required. (Assuming the
OP is logging in as USER, and that is when things don't work as expected.)
Johnny