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 Index » WebSphere Message Broker (ACE) Support » FileOutput Node issue

Post new topic  Reply to topic
 FileOutput Node issue « View previous topic :: View next topic » 
Author Message
vininx
PostPosted: Mon Jan 30, 2012 12:25 pm    Post subject: FileOutput Node issue Reply with quote

Acolyte

Joined: 13 Oct 2009
Posts: 69

Hi All,
I am using a message flow which reads the file from a file input node, transforms the file and places the file into a directory using FileOutput Node. The output file is placed under the broker user id with (-rw-rw----) permission on it and because of it everytime I need to chmod to make the file "world" readable (mainly application user need to view the output file).

1) Is there any configuration setting which I am missing in FileOutput node so that broker writes the file with (-rw-rw-r--)

I have tried by setting umask value to 022 for the broker id and then ran the message flow, but still the output file is placed with (-rw-rw----) only.

Please provide your inputs on how to achieve (-rw-rw-r--) permission in output file.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 30, 2012 12:41 pm    Post subject: Re: FileOutput Node issue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

vininx wrote:
Is there any configuration setting which I am missing in FileOutput node so that broker writes the file with (-rw-rw-r--)


No, it's controlled by the OS.

vininx wrote:
I have tried by setting umask value to 022 for the broker id and then ran the message flow, but still the output file is placed with (-rw-rw----) only.


Maybe I'm misunderstanding what you're meaning, but I've always applied umask to directories rather than users.

In any event, I'd speak to your sys admins about this. Maybe do a restart to ensure the umask is in play.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
adubya
PostPosted: Mon Jan 30, 2012 12:47 pm    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

Yes, restart WMB after changing umask.
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Mon Jan 30, 2012 1:30 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

What is the name of the Service Id you are running Broker under? What platform are you running on. What version ?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
vininx
PostPosted: Mon Jan 30, 2012 1:34 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Oct 2009
Posts: 69

Service ID:- esbbrkr
platform:- Redhat Linux
WMB:- 7.0.0.1
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jan 30, 2012 1:43 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

What is the primary group Id for esbbrkr ? What secondary groups does it belong to? What is the version of Redhat ?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
vininx
PostPosted: Wed Feb 01, 2012 12:17 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Oct 2009
Posts: 69

Hi All,
The sticky bit at the group level was set to the output directory so that broker writes ouput file(-rw-rw----) with applications GUID inside output directoryand now application users are able to read the file from that directory. Many thanks for all your responses
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » FileOutput Node issue
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.