ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportBROKER/Integration Node IGNORES USERS UMASK

Post new topicReply to topic
BROKER/Integration Node IGNORES USERS UMASK View previous topic :: View next topic
Author Message
ghoshly
PostPosted: Thu Jun 22, 2017 6:03 pm Post subject: BROKER/Integration Node IGNORES USERS UMASK Reply with quote

Master

Joined: 10 Jan 2008
Posts: 272

Hello,

There were multiple thread on this subject but mostly they are quite old and using previous WMB versions. I am having similar problem of files being created by IIB without honoring OS umask. However files created manually by the user is as per the umask.

IIB version 10.0.0.7 on AIX 7.1

Quote:
mqm@sdxbf-m23n6$
mqm@sdxbf-m23n6$ lsuser mqm
mqm id=230 pgrp=mqm groups=mqm,staff,appslog,mqbrkrs home=/home/mqm shell=/usr/bin/ksh gecos=8990230|ESB Account roles=
mqm@sdxbf-m23n6$ ls -l EDI
total 8
-rw-rw---- 1 mqm mqm 690 Jun 22 19:11 EDI_PO_SO103.ord
-rw-r--r-- 1 mqm mqm 0 Jun 22 17:28 abc*.txt
drwxrws--x 2 mqm mqm 256 Jun 22 19:11 mqsitransit
mqm@sdxbf-m23n6$ umask
022
mqm@sdxbf-m23n6$ echo $MQSI_UMASK_COPY
1
mqm@sdxbf-m23n6$ oslevel -s
7100-04-03-1642
mqm@sdxbf-m23n6$



File abc*.txt was created manually using touch command where as the other file and mqsitransit directory is created by integration node itself.

What I am missing here? Please help.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Jun 22, 2017 10:44 pm Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5562
Location: UK

It's not normally recommended to run the broker under the mqm id.

On AIX try setting the g+s bit on the directory.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
ghoshly
PostPosted: Fri Jun 23, 2017 5:14 am Post subject: Directory permission Reply with quote

Master

Joined: 10 Jan 2008
Posts: 272

Mentioned below is the directory permission currently. Do I still need to execute the command?

Quote:

drwxrwsrwx 4 mqm mqm 256 Jun 22 22:15 EDI




Thanks for helping me out.
Back to top
View user's profile Send private message
zpat
PostPosted: Sun Jun 25, 2017 10:49 pm Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5562
Location: UK

Global write access is a bad idea, don't even think of doing it...

Too often I see this being done (and left) as opposed to fixing the cause.

I like to create mqsitransit directories by hand to ensure the correct group ownership, or change the group owner to the correct one with chown.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Mon Jun 26, 2017 5:06 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1738
Location: Melbourne, Australia

Quote:
I am having similar problem of files being created by IIB without honoring OS umask.

Check the logon profile for the userid that the IIB processes run under, to see if it has a umask command that overrides the OS default umask.
_________________
Glenn
Back to top
View user's profile Send private message
Armageddon123
PostPosted: Mon Jul 03, 2017 10:08 am Post subject: Reply with quote

Acolyte

Joined: 11 Feb 2014
Posts: 54

i actually never really understood how to play with umask!, in that case, it is a relif that a new LocalEnv variable is provided in IIB10 to mention the output permissions, it may be only applicable for File nodes.
checkout how to set OutputLocalEvironment.Destination.File.PosixPermissions
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportBROKER/Integration Node IGNORES USERS UMASK
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.