1827807 Members
2746 Online
109969 Solutions
New Discussion

Remove Group & world

 
SOLVED
Go to solution
Aaron Lewis_1
Frequent Advisor

Remove Group & world

I have a couple of files with protection of:

s:RWED, o:RWED, g:R, w:R

I need to remove the group & world Read privilages. I've tried the SET SEC/PROT, and SET FILE/PROT, with a blank G & W
PROT=(S:RWED,O:RWED,G:,W:)
but I just get a missing qualifer error message. How can I remove the Read access?
3 REPLIES 3
Richard Whalen
Honored Contributor
Solution

Re: Remove Group & world

$ set file/prot=(g,w) a.a
removes the group and world protection for me. I think that your problem was that the DCL parser assumes that there is a value present when the : is used.
Joseph Huber_1
Honored Contributor

Re: Remove Group & world

It is just how the DCL parsing of defaults work.

Just leave off the ":":

set file/prot=(G,W) files,...

http://www.mpp.mpg.de/~huber
Aaron Lewis_1
Frequent Advisor

Re: Remove Group & world

Thanks Richard, I was trying with G:, and W:, the (g,w) worked fine. I knew I should have had that 11th cup of coffee this morning. :)