mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 22:03:04 +01:00
Fixed an issue, detected during 2.5.0.RC1 QA - bad message when user had no rights to access /tmp/firebird
This commit is contained in:
parent
4c07ec430b
commit
71089253d1
@ -26,6 +26,7 @@
|
|||||||
// File functions
|
// File functions
|
||||||
|
|
||||||
#include "firebird.h"
|
#include "firebird.h"
|
||||||
|
#include "gen/iberror.h"
|
||||||
#include "../jrd/common.h"
|
#include "../jrd/common.h"
|
||||||
|
|
||||||
#include "../common/classes/init.h"
|
#include "../common/classes/init.h"
|
||||||
@ -133,7 +134,9 @@ void createLockDirectory(const char* pathname)
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Firebird::system_call_failed::raise("mkdir");
|
Firebird::string msg;
|
||||||
|
msg.printf("Can't access lock files' directory %s", pathname);
|
||||||
|
(Firebird::Arg::Gds(isc_random) << msg).raise();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef SUPERSERVER
|
#ifndef SUPERSERVER
|
||||||
|
Loading…
Reference in New Issue
Block a user