Unless CHMOD is different than the "normal" xNIX command there are 10 different bits it can set on and off, 3 sets of 3, one for owner, one for group and one for public. Each of these sets you can set on and off Read, Write and Execute. There is one extra bit for the owner, but I don't remember what it is for off the top of my head. If the Read bit is set, and the Write bit is not, then the file is read only. Set on the Write bit, and it is read/write. Unfortunatley, I dont seem to have MAN on my AS/400 (dunno why not) but this is one way to do it: CHMOD 666 myfile (Myfile is read/write/execute for all users) CHMOD 660 myfile (Owner and their group has read/write/execute, everyone else is exlucded). As was suggested, read help on the CHMOD command. Regards, Jim Langston From: "Leland, David" <dleland@Harter.com> CHMOD only appears to change file permissions. I have a file in the IFS that is "readonly" and I want to remove that attribute. CHMOD doesn't seem to do that. Dave
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.