|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
fileinput node Permission !! |
« View previous topic :: View next topic » |
Author |
Message
|
mqbrk_newbie |
Posted: Tue Jul 20, 2010 1:14 pm Post subject: fileinput node Permission !! |
|
|
 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 |
|
 |
Gaya3 |
Posted: Tue Jul 20, 2010 6:46 pm Post subject: Re: fileinput node Permission !! |
|
|
 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 |
|
 |
Amitha |
Posted: Wed Jul 21, 2010 1:20 am Post subject: |
|
|
 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 |
|
 |
mqbrk_newbie |
Posted: Wed Jul 21, 2010 8:02 am Post subject: fileinput node Permission !! |
|
|
 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 |
|
 |
Amitha |
Posted: Wed Jul 21, 2010 12:44 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|