on 07-14-2011 10:12 PM
Hi Experts,
I have a production issue :
I am placing the .txt file into a SFTP server location from a SFTP Location[NO Transformation in the file]. (Sender and receiver channels are SFTP)
I am using user- user1(for example) which have the read write access to the particular folder, hence when it places the file it places with 664 permission .(This permission gives only user1 as read/write access , but other user have read only access).
The requirement :
The user2 want to deletes the file from the particular folder location , they want to know by any means can PI change the permission while placing the file into that location so that user2 can also have read/write access.
Can you provide the opinion whether it can be done using SFTP receiver channel or any other option to change the permission of the file.
Using the shell script we can change the permission for the file. Develop as shell script code and try to change the permission.
Maintain ur script in "Run Operating System Command After Message Processing".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as i know the permissions are related to the folder and the User not for files
While creating the access, a particular user authorizations related particular folder, not related to files.
So this should be done some thing like by giving the read/write access to user2 as well
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.