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



Found out myself... *ALLOBJ does negate the permissions


-----Original Message-----
From: Dave George [mailto:editor@xxxxxxxxxxxxxx] 
Sent: 17 March 2006 14:21
To: 'Midrange Systems Technical Discussion'
Subject: RE: Creating a read only file in the IFS

Thanks Vernon.. CHGATR -- I'd forgotten that one!

I think we will have to throw this over to support. Here's another extract
from the qsh entry in case anyone else has any ideas:

 ls -ltr                                                                 
 total: 136 kilobytes                                                     
 -rwxrwxrwx  1 WAO  0                 45864 Mar  5  2002 ifsxml.xml       
 -rwxrwxrwx  1 WAO  0                 54196 Mar  7  2002 ifsxml_4.xml     
 -r--r--r--  1 WAO  0                    13 Mar 17 13:56 out.txt         
 £                                                                       
> cat out.txt >> out.txt                                                   
£                                                                       
> ls -ltr                                                                 
  total: 136 kilobytes                                                     
  -rwxrwxrwx  1 WAO  0                 45864 Mar  5  2002 ifsxml.xml       
  -rwxrwxrwx  1 WAO  0                 54196 Mar  7  2002 ifsxml_4.xml     
  -r--r--r--  1 WAO  0                    25 Mar 17 14:02 out.txt
£           

This is running V5R3. 

Just a thought.... does *ALLOBJ negate permissions?



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: 17 March 2006 13:52
To: Midrange Systems Technical Discussion
Subject: Re: Creating a read only file in the IFS

It seems the "cat" command should not work, so it might be worth a 
call to IBM support to see if this is correct. I tried this and get 
the message "The file access permissions do not allow the specified 
action." when I do this. And the DOS (PC) Read only value in WRKLNK 
is still "No". If your "cat" works, it is a bug - call IBM Support. 
The "Read only" attribute is a DOS attribute - from V5R1 and on you 
can change it with the CHGATR command.

BTW, I was doing this on V5R2.





As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.