they are all on the same disk, the permisions on the both directories are 777.

It works when the oracle user has write access to the file, doesnt work when the oralce user doesnt have write permission to the file.

Just want to know what oracle needs write permission when it can happily do it from the command line without it