on 09-22-2011 9:28 PM
Hi all,
I am trying to read and delete a file by using MII action blocks from a folder of UNIX system where the Net Weaver is installed. I am able to read the file successfully from that folder and after reading I am trying to delete the file by using u201CDelete Fileu201D action block. I provided the path and file name in action block.The u201CSuccessu201D return of u201CDelete Fileu201D action block is returning value 1 but the file is not deleted from that folder. I am able to see the same file there.
Can anybody help me to understand the problem.
Thanks in advance
Chandan
Does the user MII is running as have delete rights to the file ?
Run these two commands and post the output here :
1. ps aux
2. ls -l <filename_to_be_deleted>
I would have used a "grep" with command 1 but I don't know what process MII runs as...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
How we can assign the deletion right to the User. I have created the file with authentication 777. So, that everybody can get all kind of access. Initially I have tried with 770 but I was not able to read the file even. Then I have changed it to 777 and I am able to read the file but not able to delete the file.
Thanks
Chandan
What version of MII (SP and build) and NW (if applicable) are you working with?
Regards,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.