PSQL V8.5. Rename secured file with an URI. -
07-21-2004
, 07:53 AM
I want to rename a secured data file under V8.5 through the
transactional interface. I used to do this with OS rename function,
but under security I can't use this, because I don't have OS access
rights. Instead I want to use URI's.
I found somewhere there is an undocumented/unsupported option in the
B_CREATE command that accomplishes a delete/rename operation through
the transactional interface. This is done by specifying 0x80 (delete)
or 0x81 (rename) in the key number parameter of the B_CREATE call.
Now the delete function works under security. I can specify the
file-to-delete with an URI and the transactional engine deletes the
file.
I can't get the rename to work however. I get status 178 or 175.
Does anyone know if this works ? If so, how do I specify the
rename-from and rename-to names in the B_CREATE call. Can I use URI's
here ?
Martin |