From 8ad0f4a14485f60f52469a0fba74da4f0c1760e2 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Wed, 27 May 2026 12:07:30 +0200 Subject: [PATCH] connect: honor ignore-case option for LOGIN path Apply the ignore-case volume option when preparing the SYS:LOGIN directory path during connection setup. With SYS configured as `itO`, the installed tree may use lowercase Unix directories such as `login/`, but the connection code still tried to stat the hard-coded uppercase `LOGIN/` path. This caused new client connections to abort with: Stat error LOGIN Directory, Abort !!: No such file or directory UnixPath=`.../SYS/LOGIN/` Treat `VOL_OPTION_IGNCASE` like `VOL_OPTION_DOWNSHIFT` for this path so the login directory is resolved as `login/` on ignore-case volumes. --- src/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connect.c b/src/connect.c index 424ef31..07d2811 100644 --- a/src/connect.c +++ b/src/connect.c @@ -2427,7 +2427,7 @@ int nw_init_connect(void) errorp(1, "No Volumes defined. Look at ini file entry 1, Abort !!", NULL); return(-1); } - if (get_volume_options(0) & VOL_OPTION_DOWNSHIFT) + if (get_volume_options(0) & (VOL_OPTION_DOWNSHIFT|VOL_OPTION_IGNCASE)) down_fn(nwlogin.path); if (stat(build_unix_name(&nwlogin, 0), &stbuff)) { errorp(1, "Stat error LOGIN Directory, Abort !!",