|
BTW, I was doing this on V5R2. At 07:07 AM 3/17/2006, you wrote:
Have a requirement to create a read only file in the IFS using java. The file is created with the following permissions when viewed in pase: -r--r--r-- 1 WAO 0 142 Mar 17 11:16 output.cont I can execute "cat output.cont >> output.cont" whilst I would expect that to fail in other unix environments. Looking at the file attributes via WRKLNK I can see that the file is "Read Only = No", and I can't see how I would change that to yes. For reference, the java component is being tested on multi-platforms using a standard test case. All tests are good on other platforms, but the iSeries is failing this step to ensure that the files created are truly read-only. Anyone got any tips? Cheers, Dave "Dammit Smithers, this isn't rocket science, it's brain surgery." -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.