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



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.

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.