×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I can't find anything called READONLY in the IBM i 7.5 docs.
FWIW, I did CHGAUT on a file /home/JWOEHR/foo to *R.
Then I went to the command line and did rm foo and it was gone.
Don't use object authority to set permissions for IFS stream files. Use chmod.
A popular antipattern that comes down to us from the pestilential Windows mounting to the IFS is to set the Unix permissions rwxrwxrwx (because that's what Windows does) and then control access through OS/400 Authorities.
Aside from being ridiculous, it's a performance killer. If you read the IBM i 7.5 Security reference<
https://www.ibm.com/docs/en/i/7.5?topic=security-reference> and look at the flowcharts for authority checking you can see what a CPU hog it is compared to leaving the Authorities at the default and controlling access solely through the Unix permission bits.
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of VERNON HAMBERG Owner via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>
Sent: Thursday, April 4, 2024 4:30 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: VERNON HAMBERG Owner <vhamberg@xxxxxxxxxxxxxxx>; midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Read-only dir & files within?
You did bring up using rm and thought it would override (my words) the PC attribute - have you tested that? It's an open matter for me.
As an Amazon Associate we earn from qualifying purchases.