GNU bug report logs - #55583
guix-daemon doesn't cleanly error-out on case-sensitive file systems.

Previous Next

Package: guix;

Reported by: Brian Cully <bjc <at> spork.org>

Date: Sun, 22 May 2022 20:15:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Brian Cully <bjc <at> spork.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 55583 <at> debbugs.gnu.org
Subject: bug#55583: guix-daemon doesn't cleanly error-out on case-insensitive file systems.
Date: Tue, 24 May 2022 18:54:31 -0400
Maxime Devos <maximedevos <at> telenet.be> writes:

> Create a file /gnu/store/case-sensitivity-test (if it doesn't 
> already
> exist).  Open /gnu/store/CASE-SENSITIVITY-TEST.  If it succeeds, 
> you
> have a case-sensitive file system.

Hah. I was so wrapped up in thinking about kernel or POSIX APIs I 
missed the obvious thing. ;)

/If/ we go this route, though, I’d suggest a small change to 
handle so-called “mixed-case” file-systems, where you can have two 
files differentiated by case, but if there’s no ambiguity, then 
one may address a file using any case:

- echo lower-case > case-sensitivity-test
- echo UPPER-CASE > CASE-SENSITIVITY-TEST
- test x$(cat CASE-SENSITIVITY-TEST) = xUPPER-CASE

-bjc




This bug report was last modified 3 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.