Hello,
Going back to this issue, I have done several tests with the customer and to me it is very strange that for some FDB files I can connect to them using ODBC and/or C Sharp Code, but for some of them I can't. We have checked file permissions and they are exactly the same. Could this be a security2.fdb issue ? Agustín. El 18/07/2014 a las #4, Mark Rotteveel [email protected] [firebird-support] escribió: > > On 18-7-2014 14:34, Tim Ward [email protected] [firebird-support] wrote: > > On 18/07/2014 13:31, Mark Rotteveel [email protected] > > [firebird-support] wrote: > >> > >> > >> That would give an entirely different error. The database file either > >> doesn't exist, or the user account running the Firebird service > does not > >> have access to this folder. > >> > > Yes, I've noticed that on Linux - you get the "file not found" message > > when actually what it should say is "access denied". > > That is usually an intentional design of the security of the operating > system. For example if you don't have access rights to a file and you > also have no rights to list files in the parent folder, then you are not > allowed to know if the file exists or not, therefor the error given is > not access denied, but file not found. An Access denied error would leak > knowledge about the existence of a file. However if you would have > rights to list files in the folder, but no read and write rights on the > file, you might get an Access denied instead. > > However, Firebird simply communicates the error given by the Operating > System. > > Mark > -- > Mark Rotteveel > >
