I have files in directory,when i try to overwrite those files it gave operation not permitted error. I am using same group user (ina2) while overwritng this file.
I found the issue,-p in cp command causing this problem.I tried copying file without -p and it works fine. It didn't allow even same group user if u use -p in cp command.