× 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.



Hi Jack


I think one of the confusing bits about IFS security is that it is a combination, I might say, of U*x-style permissions and windows-style attributes. The latter include read-only, hidden, archive, and system, just as you would see if you look at the security tab when looking at file properties in Windows. Here's a paragraph by Carol Woodbury -

Objects in the IFS possess some PC-like properties called file attributes that contribute to the way their access is determined and how the objects are managed. File attributes are properties of a file that work in addition to (not as a replacement for) the IBM i authority settings for the file. There are six file attributes:


The link to this is https://www.mcpressonline.com/security/ibm-i-os400-i5os/managing-authorities-to-ifs-objects


Good luck to all!
Vern


On Tue, 2 Apr, 2024 at 1:11 PM, Jack Woehr <jack.woehr@xxxxxxxxxxx> wrote:


To: midrange systems technical discussion

This sort of thing is an antipattern in our community.

Learn to use Unix permissions and permission commands for stream files in the IFS.

Only bring OS/400 commands and notions of authorities if there is a genuine use case ...

An' I tells youse peoples, there be precious few genuine use cases for that.

________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx<mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx>> on behalf of Rob Berendt <robertowenberendt@xxxxxxxxx<mailto:robertowenberendt@xxxxxxxxx>>
Sent: Tuesday, April 2, 2024 11:56 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>>
Subject: Re: Read-only dir & files within?

I do not find any documentation on this. However this testing may answer
that:
MD DIR('/home/ROB/JT')
Directory created.
CHGATR OBJ('/home/ROB/JT') ATR(*READONLY) VALUE(*YES)
Attributes changed for 1 objects. 0 objects not changed.
EDTF STMF('/home/ROB/JT/test.txt')
The EDTF did create the file
DSPF STMF('/home/ROB/JT/test.txt')
The DSPF showed the changes.

There is an attribute called *RSTDRNMUNL you might want to read up on.

On Tue, Apr 2, 2024 at 12:10 PM Justin Taylor <jtaylor.0ab@xxxxxxxxx<mailto:jtaylor.0ab@xxxxxxxxx>> wrote:

If a directory is marked read-only, can you still create & delete files
from that directory?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<https<https://lists.midrange.com/mailman/listinfo/midrange-l<https>://lists.midrange.com/mailman/listinfo/midrange-l><http://lists.midrange.com/mailman/listinfo/midrange-l>>
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l<https<https://archive.midrange.com/midrange-l<https>://archive.midrange.com/midrange-l>.<http://archive.midrange.com/midrange-l>.>

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<https<https://lists.midrange.com/mailman/listinfo/midrange-l<https>://lists.midrange.com/mailman/listinfo/midrange-l><http://lists.midrange.com/mailman/listinfo/midrange-l>>
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l<https<https://archive.midrange.com/midrange-l<https>://archive.midrange.com/midrange-l>.<http://archive.midrange.com/midrange-l>.>

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.