Apologies if this is off topic!
On hp-ux i set the umask in the .profile to 000, i though this would give
rwxrwxrwx to anything created under the profile. When I create shell
scripts they have rw-rw-rw- i.e. no execute permissions. Any ideas why and
how can I give execute permissions without having to do a chmod manually?

"Eyers, Daniel" <daniel.eyers@xxxxxxxxxxxxx>@midrange.com on 03/06/2003

Please respond to "Java Programming on and around the iSeries / AS400"

Sent by:  java400-l-bounces@xxxxxxxxxxxx

To:   "'Java Programming on and around the iSeries / AS400'"
Subject:  RE: IFS object authority

Thanks, Roger....  That article does a great job describing the behavior.

What's missing from the IFS implementation is the concept of the umask...
Basically, it describes the default creation
permissions based on user choice.  In linux (and unix as well....) a
created object's permissions are based on the user
(that is the creator) the user's primary group (usually the same as the
creator), with read authority granted to the
world (*PUBLIC). Unlike the instructions in the Knowledge base article,
there is no need to modify any permissions to
allow group access (at least read only).  Of course, one can set the
"sticky bit" to inherit the permissions from the
parent. This is all controlled through the umask and can be user

Our issue with the IFS is that if one uses FTP to create files, one must
resort to command line to get the permissions
right; it occurs using shared drives as well.  It's an added step we don't
see in either Linux or AIX.

Not sure if we'll ever see the IFS handle this... My guess is the IBM would
rather have a machine running both Linux and
OS/400 and get the best of both worlds.  It's an option I'd love to

thanks for the info!!!


-----Original Message-----
From: Roger Vicker, CCP [mailto:rvicker@xxxxxxxxxx]
Sent: Monday, June 02, 2003 10:21 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: IFS object authority


Check out the Knowledge Base article 18314911 at:


It helps explain the IFS security and how it is based on Unix. Notice
that how Owner is handled on new objects is different as of V5R2.

Roger Vicker, CCP
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.

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