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 » fileinput node Permission !!

Post new topic  Reply to topic
 fileinput node Permission !! « View previous topic :: View next topic » 
Author Message
mqbrk_newbie
PostPosted: Tue Jul 20, 2010 1:14 pm    Post subject: fileinput node Permission !! Reply with quote

Acolyte

Joined: 13 Sep 2004
Posts: 70

Hello,

I have a message flow with File Input Node as a starting point. The flow is deployed in AIX server. File is coming from external party gets Ftp'ed to the broker inbound folder where the message flow FileInput node is listening too.

When File gets dropped on the inbound folder, the owner id of the file has read write permission but the group that owner id belongs to has only read permission.

So every time when the file gets dropped we have to manually change the permission for the message flow to execute this file.

Is there anyway we could change permission level to 775 once the file gets droppped without writing a script?

THanks for your help in advance.
Back to top
View user's profile Send private message Yahoo Messenger
Gaya3
PostPosted: Tue Jul 20, 2010 6:46 pm    Post subject: Re: fileinput node Permission !! Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

mqbrk_newbie wrote:

Is there anyway we could change permission level to 775 once the file gets droppped without writing a script?

THanks for your help in advance.


there is no option as such in fileinput node to do the chmod of the file.

you have to think about some other alternatives.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Amitha
PostPosted: Wed Jul 21, 2010 1:20 am    Post subject: Reply with quote

Voyager

Joined: 20 Nov 2009
Posts: 80
Location: Newyork

You can make use of default umask on UNIX. assign read+write for the group using Umask. whenever the file is dropped by a user it uses the default umask to set the permissions.
Back to top
View user's profile Send private message Send e-mail
mqbrk_newbie
PostPosted: Wed Jul 21, 2010 8:02 am    Post subject: fileinput node Permission !! Reply with quote

Acolyte

Joined: 13 Sep 2004
Posts: 70

Hi Amitha,

Thanks for your quick response. Actually thats what we did , by setting umask (-u 007), still did not work,

So this is what I understood from you, if I set the umask of user id that is used for FTP to 007 and when the file gets landed to destination folder, the file level permission of user id ,as well as the group id that the userid belongs too would change to Read, Write?

Is that correct?

Thanks
Back to top
View user's profile Send private message Yahoo Messenger
Amitha
PostPosted: Wed Jul 21, 2010 12:44 pm    Post subject: Reply with quote

Voyager

Joined: 20 Nov 2009
Posts: 80
Location: Newyork

Quote:
So this is what I understood from you, if I set the umask of user id that is used for FTP to 007 and when the file gets landed to destination folder, the file level permission of user id ,as well as the group id that the userid belongs too would change to Read, Write?


Yes, This is exactly what I meant.


Did you try creating a test file after changing the umask? what is the permission set? where did you change the umask? I have used smitty to make the changes, it works for me.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » fileinput node Permission !!
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.