This content has been marked as final. Show 3 replies
It's look strange.
Try use rm -f file1
In case error please show result of command and output ls -la dir1
thanks for replying...
It really looks strange and all i thought it is a code problem..
Means the scenario i have told here is not from the direct access to the solaris box...
It is happenning when a batch job is being called from there. The operations the batch job does is to take the file, do some processing and then remove that file. Everything is getting successful except the last step.
But when I tried from the backend(direct access through putty) then it behaves normally.
So i am confirm that it is a code issue. I have told the developers to check the code.
Being able to erase a file is actually being able to modify that file's parent directory.
Have you checked the corresponding permisions for the user that is trying to erase the file?
Hope this helps..