On Tue, 2 Jun 2026 06:35:11 -0400, Robert S. Hansel > wrote:
>
>I've seen issues with this directory on other systems. The first process that 
>needs the directory creates and owns it. The permission bits are set depending 
>on that process' umask, which is often 0022, so the bits get set to 0755. As 
>other processes come online that need to create subdirectories under this 
>directory, they are blocked from doing so because of the permission bit. I 
>recommend you include the following commands in /etc/rc so that at system 
>startup the directory is created if not already present and the permission 
>bits are set to allow any process to create a subdirectory, but only the 
>creator/owner of each such subdirectory can delete it.
>
>mkdir /tmp/javasharedresources
>chmod 1777 /tmp/javasharedresources
>
Are you trusting the "often 0022" setting of umask rather than
setting it explicitly?

Use "mkdir -p ..." to  create subdirectories.

And "chmod -R ..."" to set subdirectories.

How should the sticky bit be set?

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to