Joy Conner
2nd February 2010, 16:13
I am running Baan4c4 in a unix environment and trying to use the command file.rm. The return value if -1 and the value of e is 2.
Here is my code:
function long delete.file(const string path())
{
long ret
ret = file.rm(path)
return(ret)
}
path stores the "host!/full path/file name"
I have considered this being a permission issue but appears to not be the case. I am running this as a super user and member of bsp group. The file is owned by bsp and permissions are granted to the bsp group.
To take this one step further, I logged on to unix system as myself and removed the file.
Does anyone have other suggestions?
Thanks in advance for your help.
Here is my code:
function long delete.file(const string path())
{
long ret
ret = file.rm(path)
return(ret)
}
path stores the "host!/full path/file name"
I have considered this being a permission issue but appears to not be the case. I am running this as a super user and member of bsp group. The file is owned by bsp and permissions are granted to the bsp group.
To take this one step further, I logged on to unix system as myself and removed the file.
Does anyone have other suggestions?
Thanks in advance for your help.