PQ53923: UMASK PROBLEM WITH WAS 4.0.1 ON LINUX | |||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description After a fresh installation of WAS 4.0.1 on Linux (non-root), when we start the console for the first time, it compiles JSPs that creates some files. We found out that the non-root user which WAS is running as does not have the READ permission to those files. After more insvestigation we found out that WAS does not handle the umask setting in the server-cfg.xml properly. . Here is what we get . umask rights 777 -wx rw- rw- 018 rwx r-x r-x 063 rwx --- --- . Here is our findings and a way to bypass the problem. . When you put 777 as the umask it seems that the system converts it in octal which we get 411 and the complement of 411 is 366. The 366 gaves us -wx rw- rw- Another exemple. If we put 063 in the umask we get rwx --- ---, it seems again that the system converts 063 into decimal which is 077 and the complement is 700 which correspond to the effective rights that we get ( rwx --- ---). With a umask of 063 we should get the effective rights 714 which would give us u=rwx, g=x, o=r but we don'tLocal fix Problem summary **************************************************************** * USERS AFFECTED: All WebSphere Application Server users on * * the Linux platform * **************************************************************** * PROBLEM DESCRIPTION: UMASK problem on WAS AEs * **************************************************************** * RECOMMENDATION: * **************************************************************** UMASK problem on WAS AEs causing incorrect file permissions.Problem conclusion UMASK problem has been fixed for AEsTemporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ53923
IBM Group: Software Group
Modified date: Nov 13, 2001
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.