Problem accesing read only CISAM files
Posted 09 March 2009 - 11:59 PM
If I change the file permission to (-rwxrwxrwx) I'm able to read the records from the Cisam file.
Do you know why this could be happening?, or how can it be solved?
Posted 10 March 2009 - 07:15 PM
-rwxrwxr-x 1 root root 1024 Mar 9 17:02 PRUEBA_CISAM.dat
-rwxrwxr-x 1 root root 3072 Mar 9 17:02 PRUEBA_CISAM.idx
-rwxrwxr-x 1 root root 1024 Mar 9 17:04 prueba_pro.pro
User running proiv is pro61 and the group is pro61.
Sounds like file ownership issue to me.
Try doing a CHOWN on the file.
Make sure the owners are all in the same group nd have access permissions.
Posted 12 March 2009 - 11:41 AM
What's probably happening here is simply that the requirements of the Pro-ISAM and C-ISAM drivers in PROIV are different. Historically, PROIV always required read-write access to application files. Pro-ISAM is a special case because it is the filesystem supplied with PROIV and used for the bootstrap. At some point changes were made to support a read-only bootstrap so, for example, it's possible that the Pro-ISAM driver tries to open a file in read-write mode but is happy to retry in read-only mode if that fails. This may well not be true of the C-ISAM driver, and if so it would probably not be considered a "bug".
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users