Package: libapache2-mod-perl2 Version: 2.0.12-1+b2 Severity: normal Tags: upstream
Hi Damyan et al, After changes in permissions of an unrelated subdirectory (but nonetheless under the t/ directory), just found that my tests end with: | Can't cd to (/home/mones/.../data/) somedir: Permission denied | at /usr/lib/x86_64-linux-gnu/perl5/5.36/Apache/TestRun.pm line 932. Looking at the line 932 of TestRun.pm it can be found the problem is in the warn_core sub, which invokes finddepth without setting the no_chdir option. To me looks excessive to fail because some subdir lacks permission while finding cores for emitting a warning, since those dirs are not going to hold a core file, and if they do it's probably unrelated to the testing process. So my proposed solution is to enable no_chdir on that finddepth call, rewrite the wanted inline sub to be aware of it and also ignore items without permissions. Does it sound OK? I can try to write a Debian patch if the solution is acceptable. best regards, -- System Information: Debian Release: 12.5 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-20-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libapache2-mod-perl2 depends on: ii apache2-bin [apache2-api-20120211] 2.4.59-1~deb12u1 ii libapr1 1.7.2-3 ii libaprutil1 1.6.3-1 ii libc6 2.36-9+deb12u7 ii libdevel-symdump-perl 2.18-5 ii libperl5.36 5.36.0-7+deb12u1 ii liburi-perl 5.17-1 ii libwww-perl 6.68-1 ii netbase 6.4 ii perl 5.36.0-7+deb12u1 ii perl-base [perlapi-5.36.0] 5.36.0-7+deb12u1 Versions of packages libapache2-mod-perl2 recommends: ii libapache2-reload-perl 0.13-4 ii libbsd-resource-perl 1.2911-2+b1 libapache2-mod-perl2 suggests no packages.