• Case-Insensitive File/Directory Names

    From Lawrence D'Oliveiro@21:1/5 to All on Thu Feb 8 01:48:02 2024
    Did you know that the ext4 filesystem has the option for case-insensitive file/directory names?

    First of all, ensure your kernel was built with the “CONFIG_UNICODE=y” option. Then, you have to enable this option at filesystem creation time,
    by specifying an “encoding” setting, e.g.

    mkfs -t ext4 -E encoding=utf8 «block-device»

    Next, you mount the volume as normal, but there is no difference in behaviour--yet. You must enable case-insensitivity on the directories on
    that volume where you want it (before putting anything in those
    directories):

    chattr +F «dirname»

    This attribute is propagated by default when subdirectories are created in
    that directory, so if you want to enable it for the whole volume, you can
    set it on the root directory of the volume while it is still empty.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 04:28:13 2024
    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:
    Did you know that the ext4 filesystem has the option for case-insensitive file/directory names?

    First of all, ensure your kernel was built with the “CONFIG_UNICODE=y” option. Then, you have to enable this option at filesystem creation time,
    by specifying an “encoding” setting, e.g.

    mkfs -t ext4 -E encoding=utf8 «block-device»

    Next, you mount the volume as normal, but there is no difference in behaviour--yet. You must enable case-insensitivity on the directories on
    that volume where you want it (before putting anything in those
    directories):

    chattr +F «dirname»

    This attribute is propagated by default when subdirectories are created in that directory, so if you want to enable it for the whole volume, you can
    set it on the root directory of the volume while it is still empty.

    Be careful, this is dangerous.


    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Carlos E.R. on Thu Feb 8 03:57:15 2024
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:

    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:

    Did you know that the ext4 filesystem has the option for
    case-insensitive file/directory names?

    Be careful, this is dangerous.

    Why?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Wed Feb 7 22:59:35 2024
    On 2/7/24 21:57, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:

    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:

    Did you know that the ext4 filesystem has the option for
    case-insensitive file/directory names?

    Be careful, this is dangerous.

    Why?
    It's a fundamental paradigm change that goes against one of the things
    that is related to security.

    E.g. PATH=/usr/local/bin:/usr/bin:/bin

    Which executable is run first when you type `su`?

    - /usr/local/bin/SU
    - /usr/bin/sU
    - /bin/su

    By changing how the system interprets case, you inadvertently break
    fundamental assumptions that the system makes.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Thu Feb 8 05:45:45 2024
    On Wed, 7 Feb 2024 22:59:35 -0600, Grant Taylor wrote:

    Which executable is run first when you type `su`?

    - /usr/local/bin/SU
    - /usr/bin/sU
    - /bin/su

    The first one that matches, same as now.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Grant Taylor on Thu Feb 8 09:43:18 2024
    On 08/02/2024 04:59, Grant Taylor wrote:
    On 2/7/24 21:57, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:

    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:

    Did you know that the ext4 filesystem has the option for
    case-insensitive file/directory names?

    Be careful, this is dangerous.

    Why?
    It's a fundamental paradigm change that goes against one of the things
    that is related to security.

    E.g.  PATH=/usr/local/bin:/usr/bin:/bin

    Which executable is run first when you type `su`?

     - /usr/local/bin/SU
     - /usr/bin/sU
     - /bin/su

    By changing how the system interprets case, you inadvertently break fundamental assumptions that the system makes.



    +1001

    --
    No Apple devices were knowingly used in the preparation of this post.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Carlos E.R. on Thu Feb 8 09:42:56 2024
    On 08/02/2024 03:28, Carlos E.R. wrote:
    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:
    Did you know that the ext4 filesystem has the option for case-insensitive
    file/directory names?

    First of all, ensure your kernel was built with the “CONFIG_UNICODE=y” >> option. Then, you have to enable this option at filesystem creation time,
    by specifying an “encoding” setting, e.g.

         mkfs -t ext4 -E encoding=utf8 «block-device»

    Next, you mount the volume as normal, but there is no difference in
    behaviour--yet. You must enable case-insensitivity on the directories on
    that volume where you want it (before putting anything in those
    directories):

         chattr +F «dirname»

    This attribute is propagated by default when subdirectories are
    created in
    that directory, so if you want to enable it for the whole volume, you can
    set it on the root directory of the volume while it is still empty.

    Be careful, this is dangerous.


    Tell me about it

    I once mistakenly added a case sensitive disk to an Apple OS/X machine. Applications promptly stopped working.

    Using 'strings' on the source code revealed that *the same files* were randomly being accessed in upper case, lower case and a mixture of both!



    --
    The theory of Communism may be summed up in one sentence: Abolish all
    private property.

    Karl Marx

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Grant Taylor on Thu Feb 8 10:58:12 2024
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    On 2/7/24 21:57, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:
    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:
    Did you know that the ext4 filesystem has the option for
    case-insensitive file/directory names?

    Be careful, this is dangerous.
    Why?
    It's a fundamental paradigm change that goes against one of the things
    that is related to security.

    E.g. PATH=/usr/local/bin:/usr/bin:/bin

    Which executable is run first when you type `su`?

    - /usr/local/bin/SU
    - /usr/bin/sU
    - /bin/su

    What’s the threat model here?

    If an attacker can put a hostile command sU in /usr/bin, they must have
    been able to write /usr/bin, in which case they could just replace
    /usr/bin/su with their own version. They don’t need a case-insensitive filesystem to do that.

    If a legitimate administrator has created /usr/bin/sU, with different
    behavior to /usr/bin/su, they’re only attacking themselves.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Richard Kettlewell on Thu Feb 8 12:13:15 2024
    On 08/02/2024 11:15, Richard Kettlewell wrote:
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:
    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:
    Did you know that the ext4 filesystem has the option for
    case-insensitive file/directory names?

    Be careful, this is dangerous.

    Why?

    There’s a bit of extra attack surface not present in a case-sensitive filesystem, i.e. the code to do case-insensitive comparisons.
    .....
    ...


    In the end it breaches the guideline that you should always do whatever
    the incompetent programmer who built the system expected you to do.

    Unless its a feature you need, simply don't use it.


    --
    Canada is all right really, though not for the whole weekend.

    "Saki"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 11:15:53 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:
    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:
    Did you know that the ext4 filesystem has the option for
    case-insensitive file/directory names?

    Be careful, this is dangerous.

    Why?

    There’s a bit of extra attack surface not present in a case-sensitive filesystem, i.e. the code to do case-insensitive comparisons.

    AFAIK you’re already buying into that if you use SMB, FAT, etc though,
    and filesystems are already rather complex code (IMO much more so than
    even a fairly full-featured Unicode implementation). So at this level I
    would say “fractionally more risky” than “dangerous”.


    A more concrete issue is that where a collection of files (e.g. a zip
    archive, a git repo, etc) contains files that differ only in letter
    case, it can’t be represented correctly in a case-independent
    filesystem.

    Examples:

    https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man3
    (NAN.3 and nan.3)

    https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man2
    (_Exit.2 and _exit.2)

    https://github.com/torvalds/linux/tree/master/net/netfilter
    (xt_hl.c and xt_HL.c)

    The effect is that you can’t successfully clone the manpages or kernel
    trees onto a case-insensitive filesystem. For the most part that’s inconvenient rather than dangerous though though I certainly wouldn’t
    want to exclude the possibility that someone’s managed to snooker
    themselves into a process which would be genuinely exploitatable this
    way.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 14:05:26 2024
    On 2024-02-08 04:57, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:

    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:

    Did you know that the ext4 filesystem has the option for
    case-insensitive file/directory names?

    Be careful, this is dangerous.

    Why?

    Because the filesystem structure is designed considering the case is
    relevant.

    You would have to examine all the files in your distribution, to check
    that there are no collisions. Check all the scripts, all the programs.

    Huge overtaking.


    You can, however, do it for a data directory of your design. For
    example, if you have a directory which you export via samba to windows machines, that directory could be useful to be case insensitive.

    /sambashare

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Richard Kettlewell on Thu Feb 8 13:59:04 2024
    On 2024-02-08 11:58, Richard Kettlewell wrote:
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    On 2/7/24 21:57, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:
    On 2024-02-08 02:48, Lawrence D'Oliveiro wrote:
    Did you know that the ext4 filesystem has the option for
    case-insensitive file/directory names?

    Be careful, this is dangerous.
    Why?
    It's a fundamental paradigm change that goes against one of the things
    that is related to security.

    E.g. PATH=/usr/local/bin:/usr/bin:/bin

    Which executable is run first when you type `su`?

    - /usr/local/bin/SU
    - /usr/bin/sU
    - /bin/su

    What’s the threat model here?

    It is not about threats.


    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Carlos E.R. on Thu Feb 8 14:04:28 2024
    "Carlos E.R." <robin_listas@es.invalid> writes:
    On 2024-02-08 11:58, Richard Kettlewell wrote:
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    It's a fundamental paradigm change that goes against one of the things
    that is related to security.

    E.g. PATH=/usr/local/bin:/usr/bin:/bin

    Which executable is run first when you type `su`?

    - /usr/local/bin/SU
    - /usr/bin/sU
    - /bin/su
    What’s the threat model here?

    It is not about threats.

    Grant seems to think it is; he explicitly mentioned security.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Carlos E.R. on Thu Feb 8 13:32:56 2024
    On 08/02/2024 13:05, Carlos E.R. wrote:

    Because the filesystem structure is designed *considering the case is relevant*.

    That is the killer. It's like taking a car designed for a 1.5 litre
    engine and cramming a supercharged 6 litre in it. Things will simply break.

    You would have to examine all the files in your distribution, to check
    that there are no collisions. Check all the scripts, all the programs.

    Huge overtaking.

    Undertaking...

    You can, however, do it for a data directory of your design. For
    example, if you have a directory which you export via samba to windows machines, that directory could be useful to be case insensitive.

    /sambashare

    Moving away from uppercase DOS 6x.3x filenames was a step forward. Why
    would anyone go back?

    --
    "The great thing about Glasgow is that if there's a nuclear attack it'll
    look exactly the same afterwards."

    Billy Connolly

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Carlos E.R. on Thu Feb 8 14:14:29 2024
    "Carlos E.R." <robin_listas@es.invalid> writes:
    On 2024-02-08 04:57, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:
    Be careful, this is dangerous.
    Why?

    Because the filesystem structure is designed considering the case is relevant.

    You would have to examine all the files in your distribution, to check
    that there are no collisions. Check all the scripts, all the programs.

    Huge overtaking.

    Doing the check on an installed system is a shell one-liner (and it
    produces a few dozen hits on my system). Doing it on, say, a
    distribution archive would be a little more but it’s not really a
    difficult task.

    However I don’t see Lawrence advocating doing it to whole system
    (i.e. /) so much as individual volumes or even directories.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to The Natural Philosopher on Thu Feb 8 22:16:14 2024
    On 2024-02-08 14:32, The Natural Philosopher wrote:
    On 08/02/2024 13:05, Carlos E.R. wrote:

    Because the filesystem structure is designed *considering the case is
    relevant*.

    That is the killer. It's like taking a car designed for a 1.5 litre
    engine and cramming a supercharged 6 litre in it. Things will simply break.

    You would have to examine all the files in your distribution, to check
    that there are no collisions. Check all the scripts, all the programs.

    Huge overtaking.

    Undertaking...

    Oops :-)


    You can, however, do it for a data directory of your design. For
    example, if you have a directory which you export via samba to windows
    machines, that directory could be useful to be case insensitive.

    /sambashare

    Moving away from uppercase DOS 6x.3x filenames was a step forward. Why
    would anyone go back?

    In current day Windows you can name files with upper, lower, mixed case.
    No matter how you do it, in Windows it is the same file. It is simply a prettier file name.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Richard Kettlewell on Thu Feb 8 22:16:28 2024
    On 2024-02-08 15:14, Richard Kettlewell wrote:
    "Carlos E.R." <robin_listas@es.invalid> writes:
    On 2024-02-08 04:57, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 04:28:13 +0100, Carlos E.R. wrote:
    Be careful, this is dangerous.
    Why?

    Because the filesystem structure is designed considering the case is
    relevant.

    You would have to examine all the files in your distribution, to check
    that there are no collisions. Check all the scripts, all the programs.

    Huge overtaking.

    Doing the check on an installed system is a shell one-liner (and it
    produces a few dozen hits on my system). Doing it on, say, a
    distribution archive would be a little more but it’s not really a
    difficult task.

    The point is, you never know what script or program may create or access
    a file of the same name but different case as another part of the
    program or another program. You can never be sure.


    However I don’t see Lawrence advocating doing it to whole system
    (i.e. /) so much as individual volumes or even directories.

    That's feasible. For a Samba share, it would be desirable, it can avoid
    trouble in Windows programs that expect case to not matter.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Richard Kettlewell on Thu Feb 8 22:14:33 2024
    On Thu, 08 Feb 2024 11:15:53 +0000, Richard Kettlewell wrote:

    A more concrete issue is that where a collection of files (e.g. a zip archive, a git repo, etc) contains files that differ only in letter
    case, it can’t be represented correctly in a case-independent
    filesystem.

    The solution is simple: create a case-sensitive directory, and extract the archive there.

    Consider that Windows users have this same problem, without having
    recourse to the same solution.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Thu Feb 8 22:11:43 2024
    On Thu, 8 Feb 2024 09:42:56 +0000, The Natural Philosopher wrote:

    I once mistakenly added a case sensitive disk to an Apple OS/X machine. Applications promptly stopped working.

    That’s the opposite of what we’re discussing here.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Richard Kettlewell on Thu Feb 8 22:12:18 2024
    On Thu, 08 Feb 2024 14:14:29 +0000, Richard Kettlewell wrote:

    However I don’t see Lawrence advocating doing it to whole system (i.e.
    /) so much as individual volumes or even directories.

    Which is precisely why the feature is designed that way.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Carlos E.R. on Thu Feb 8 22:16:48 2024
    On Thu, 8 Feb 2024 13:59:04 +0100, Carlos E.R. wrote:

    On 2024-02-08 11:58, Richard Kettlewell wrote:

    Grant Taylor <gtaylor@tnetconsulting.net> writes:

    E.g. PATH=/usr/local/bin:/usr/bin:/bin

    Which executable is run first when you type `su`?

    - /usr/local/bin/SU
    - /usr/bin/sU
    - /bin/su

    What’s the threat model here?

    It is not about threats.

    It’s not about anything at all, really. It’s a question about a non- problem.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 18:52:08 2024
    On 2/7/24 23:45, Lawrence D'Oliveiro wrote:
    The first one that matches, same as now.

    I disagree.

    `su` (lower case) is decidedly not `SU` upper case.

    And if your system was using case insensitive files like you are
    suggesting and I arranged to put `SU` in a directory earlier in your
    path, you just ran a trojan when you mean to run `su`.

    This is a first hand example of why case folding is a Bad Idea (TM).



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Richard Kettlewell on Thu Feb 8 19:03:49 2024
    On 2/8/24 04:58, Richard Kettlewell wrote:
    What’s the threat model here?

    It's different for different people.

    If an attacker can put a hostile command sU in /usr/bin, they must have
    been able to write /usr/bin, in which case they could just replace /usr/bin/su with their own version. They don’t need a case-insensitive filesystem to do that.

    The examples I gave were exactly that, overt examples meant to
    demonstrate a concept. There are MANY subtle ways that this type of
    thing can bite you.

    What if someone has `.` as the first directory in their PATH (.:/usr/local/bin:/usr/bin:/bin type thing) and the are in (their
    current working directory is) /tmp, and someone places a file named `SU`
    -- which is a wrapper around /bin/su -- and the person runs `su` to do something. The person unwittingly / inadvertently ran /tmp/SU instead
    of the expected /bin/su.

    There are multiple things that work in concert with each other to result
    in unexpected and likely unwanted behavior of the system. Each of the
    things is in and of itself innocuous enough. But combined ... unwanted
    things can easily, if not likely, happen.

    Depending exactly on how the case folding works, what library is used
    when someone needs to load libnss_dns.so:

    /lib/LIBNSS_DNS.SO
    /lib/LiBnSs_DnS.sO
    /lib/libnss_dns.so

    It may be entirely possible to have mixed case files on the file system
    but have the system do things to fold case when trying to access files.
    Which file will be accessed?

    If a legitimate administrator has created /usr/bin/sU, with different behavior to /usr/bin/su, they’re only attacking themselves.

    Maybe. Maybe not.

    This class of problem, case confusion, can bite in a LOT of different
    ways in a LOT of different ways.

    What if two users named Bob exist on the system from when case folding
    wasn't enabled:

    /home/BOB
    /home/bob

    Case folding is enabled.

    Eliding authentication issues, which home directory is used?



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Carlos E.R. on Thu Feb 8 19:12:43 2024
    On 2/8/24 15:16, Carlos E.R. wrote:
    The point is, you never know what script or program may create or access
    a file of the same name but different case as another part of the
    program or another program. You can never be sure.

    Yep.

    That's feasible. For a Samba share, it would be desirable, it can avoid trouble in Windows programs that expect case to not matter.

    Samba (et al.) is (are) special case wherein the daemon does the case
    folding, not the underlying file system.

    IMHO this is the proper place to handle this type of conversion.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Olschok@21:1/5 to All on Fri Feb 9 00:39:57 2024
    On Thu, 08 Feb 2024 02:48:02 Lawrence D'Oliveiro wrote:
    Did you know that the ext4 filesystem has the option for case-insensitive file/directory names?[...]

    I did not know and in fact I cannot think of a situation where I
    would desire case-insensitivity. But of course it helps to be aware
    of this possibility just in case one runs into a system configured
    this way. Thanks.

    --
    M.O.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Richard Kettlewell on Thu Feb 8 19:04:33 2024
    On 2/8/24 08:04, Richard Kettlewell wrote:
    Grant seems to think it is; he explicitly mentioned security.

    Security is the most obvious / easiest place to demonstrate problems
    that arise from case confusion.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to The Natural Philosopher on Thu Feb 8 19:09:58 2024
    On 2/8/24 07:32, The Natural Philosopher wrote:
    Undertaking...

    If we're being pedantic ...

    Moving away from uppercase DOS 6x.3x filenames was a step forward.

    ... then it's 8.3 file names. ;-)



    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Richard Kettlewell on Thu Feb 8 19:16:15 2024
    On 2/8/24 08:14, Richard Kettlewell wrote:
    However I don’t see Lawrence advocating doing it to whole system
    (i.e. /) so much as individual volumes or even directories.

    Lawrence didn't give any indication on the scope of where the setting
    would be used save for at the file system level and a vague reference to
    a directory.

    Without further guidance, it's natural to assume that it's the file
    system mount point -> entire file system.

    Combine that with the current Linux predilection of a single file system
    for everything (monolithic root), and we end up at Lawrence very
    potentially talking about doing this to root (/).



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Marc Olschok on Thu Feb 8 19:20:15 2024
    On 2/8/24 18:39, Marc Olschok wrote:
    I did not know and in fact I cannot think of a situation where I
    would desire case-insensitivity.

    I used it in the late '90s to host files on a Linux web server that had
    been written to be hosted on a Windows web server. There were WAY TOO
    MANY mixed case references to the same file. index.html != INDEX.HTML
    != InDeX.hTmL.

    Enabling the feature on the Document Root for that site allowed the
    Linux box to serve that site without any modifications.

    But of course it helps to be aware of this possibility just in case
    one runs into a system configured this way. Thanks.

    I absolutely agree.

    Be aware of things, even if you aren't cognizant of all the subtle
    details. Know of it so that you can go research the details in the
    future if you think you may need it for a problem at hand.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 02:13:11 2024
    On Thu, 8 Feb 2024 18:52:08 -0600, Grant Taylor wrote:

    And if your system was using case insensitive files like you are
    suggesting and I arranged to put `SU` in a directory earlier in your
    path, you just ran a trojan when you mean to run `su`.

    You can only do that if you have write access to that directory. If so,
    why would you put “SU” rather than “su”?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 19:17:06 2024
    On 2/8/24 16:11, Lawrence D'Oliveiro wrote:
    That’s the opposite of what we’re discussing here.

    No, it really isn't.

    It's the same feature, just flipping it the other way.

    This is a perfect example of how case confusion can bite or literally
    break things.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 02:15:05 2024
    On Thu, 8 Feb 2024 19:03:49 -0600, Grant Taylor wrote:

    What if someone has `.` as the first directory in their PATH

    We decided that was a bad idea back in the last century.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 02:16:02 2024
    On Thu, 8 Feb 2024 19:17:06 -0600, Grant Taylor wrote:

    On 2/8/24 16:11, Lawrence D'Oliveiro wrote:

    That’s the opposite of what we’re discussing here.

    No, it really isn't.

    It's the same feature, just flipping it the other way.

    Except it causes a problem one way that it doesn’t cause the other way.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 02:17:09 2024
    On Thu, 8 Feb 2024 19:16:15 -0600, Grant Taylor wrote:

    ... a vague reference to a directory.

    So you felt “You must enable case-insensitivity on the directories on
    that volume where you want it (before putting anything in those
    directories)” was not clear enough for you?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 04:17:59 2024
    On Thu, 8 Feb 2024 22:15:54 -0600, Grant Taylor wrote:

    On 2/8/24 20:15, Lawrence D'Oliveiro wrote:
    We decided that was a bad idea back in the last century.

    And yet people still do it.

    If they do it, it’s not clear what difference this option will make, security-wise. Can you explain why it would make a difference?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 22:19:06 2024
    On 2/8/24 20:17, Lawrence D'Oliveiro wrote:
    So you felt “You must enable case-insensitivity on the directories
    on that volume where you want it (before putting anything in those directories)” was not clear enough for you?

    Obviously not.

    If there's room for confusion in what you intended in this thread, just
    think about how much room there is for confusion if someone handles case
    in an unexpected way.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 22:27:02 2024
    On 2/8/24 22:17, Lawrence D'Oliveiro wrote:
    If they do it, it’s not clear what difference this option will make, security-wise. Can you explain why it would make a difference?

    Which option are you asking about; case confusion and / or prefixing
    PATH with `.`?

    PATH=/path/to/oracle/bin:/usr/local/bin:/usr/bin:/bin;~/bin:.

    Which `su` will be run when an senior Oracle DBA has created the
    following file:

    /path/to/oracle/bin/SU

    and a jr Oracle DBA runs `su`.

    Does the junior Oracle DBA run /path/to/oracle/bin/SU or /bin/su?

    Which command do you think the jr Oracle DBA was expecting to run? Was
    it the command that actually ended up being run?

    N.B. `su` is just a stand in. It can really be ANY command you want.
    It could even be a wrapper that calls your least favorite editor emacs
    instead of vi or vi instead of emacs. Or the cult of ed(1) may laugh
    and drop you in the standard editor.

    As for prefixing PATH with `.`, that's simply running a command in the
    current working directory instead of somewhere else in your path.

    What if said junior Oracle DBA happened to be in the /var/tmp directory
    where someone decided to test a practical joke by creating a script
    named `Su` that prints an obscene message on all consoles on the system?

    Doing something to enable case confusion and prefixing PATH with a . are
    a Bad Idea (TM).



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 22:30:59 2024
    On 2/8/24 20:13, Lawrence D'Oliveiro wrote:
    You can only do that if you have write access to that directory. If so,
    why would you put “SU” rather than “su”?

    Does BOFH mean anything to you? Or what about practical jokes? Or
    creating teachable moments.

    Have you ever had anyone in your life let you do something you wish they
    had stopped you from doing, but they wanted you to learn from?

    There are many ways that commands can end up in directories in
    unexpected ways; accidents, malicious intent, options that enable
    confusion. Some are worse than others.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 04:39:36 2024
    On Thu, 8 Feb 2024 22:30:59 -0600, Grant Taylor wrote:

    On 2/8/24 20:13, Lawrence D'Oliveiro wrote:

    You can only do that if you have write access to that directory. If so,
    why would you put “SU” rather than “su”?

    Does BOFH mean anything to you?

    Nope.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 04:40:26 2024
    On Thu, 8 Feb 2024 22:27:02 -0600, Grant Taylor wrote:

    On 2/8/24 22:17, Lawrence D'Oliveiro wrote:

    If they do it, it’s not clear what difference this option will make,
    security-wise. Can you explain why it would make a difference?

    Which option are you asking about; case confusion and / or prefixing
    PATH with `.`?

    The supposed security-based reason why you object to case insensitivity.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 04:41:06 2024
    On Thu, 8 Feb 2024 22:17:02 -0600, Grant Taylor wrote:

    On 2/8/24 20:16, Lawrence D'Oliveiro wrote:

    Except it causes a problem one way that it doesn’t cause the other way.

    Handling case in an unexpected way /always/ causes confusion.

    But the “confusion” only happens one way, not the other way.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 04:47:29 2024
    On Thu, 8 Feb 2024 22:19:06 -0600, Grant Taylor wrote:

    On 2/8/24 20:17, Lawrence D'Oliveiro wrote:

    So you felt “You must enable case-insensitivity on the directories on
    that volume where you want it (before putting anything in those
    directories)” was not clear enough for you?

    Obviously not.

    Which part would you like clarified? The part about the option being
    settable on a per-directory basis? The part where you have to specify
    which directories you want to enable the option on? Or the part which says
    that the option has to do with case insensitivity?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 22:15:54 2024
    On 2/8/24 20:15, Lawrence D'Oliveiro wrote:
    We decided that was a bad idea back in the last century.

    And yet people still do it.

    There are a lot of bad ideas that people do or argue to do. Like
    prefixing their PATH with "." or confusing case.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 22:17:02 2024
    On 2/8/24 20:16, Lawrence D'Oliveiro wrote:
    Except it causes a problem one way that it doesn’t cause the other way.

    Handling case in an unexpected way /always/ causes confusion. The only question is how soon, not if.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 23:32:12 2024
    On 2/8/24 22:47, Lawrence D'Oliveiro wrote:
    Which part would you like clarified?

    I don't want anything clarified.

    You asked if your previous statement was clear.

    I stated that it was obviously not clear because it was questioned.

    You have since made it clear elsewhere.

    But your previous statement was obviously not clear enough.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 23:36:28 2024
    On 2/8/24 22:41, Lawrence D'Oliveiro wrote:
    But the “confusion” only happens one way, not the other way.

    It happens both ways.

    The computer does things that the human did not expect it to do, hence confusion as to why it did so until they realize that the way the case
    was handled caused the unexpected behavior.

    Using mixed case in a case preserving way will not access the same file
    and will likely return an error about file not found.

    Using fixed case in a non-case preserving way can cause the wrong file
    to be accessed.

    Both problems -> confusion stem from inconsistent / unexpected use of case.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 05:41:06 2024
    On Thu, 8 Feb 2024 23:36:28 -0600, Grant Taylor wrote:

    On 2/8/24 22:41, Lawrence D'Oliveiro wrote:

    But the “confusion” only happens one way, not the other way.

    It happens both ways.

    Here’s what the OP said:

    I once mistakenly added a case sensitive disk to an Apple OS/X
    machine. Applications promptly stopped working.

    Here’s what the OP didn’t say:

    I once mistakenly added a case-insensitive disk to an Apple OS/X
    machine. Applications promptly started working.

    Do you see a difference? Need something clarified, perhaps? Try looking at
    the words one by one.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 05:42:40 2024
    On Thu, 8 Feb 2024 23:32:12 -0600, Grant Taylor wrote:

    On 2/8/24 22:47, Lawrence D'Oliveiro wrote:

    Which part would you like clarified?

    I don't want anything clarified.

    You asked if your previous statement was clear.

    I stated that it was obviously not clear because it was questioned.

    That’s not what you said. You said “vague reference to a directory”, not that it was “questioned” anywhere.

    You have since made it clear elsewhere.

    Back-pedalling, eh? Go on, deny it. Strenuously, even.

    But your previous statement was obviously not clear enough.

    How come?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 05:43:21 2024
    On Thu, 8 Feb 2024 23:37:08 -0600, Grant Taylor wrote:

    On 2/8/24 22:39, Lawrence D'Oliveiro wrote:

    Nope.

    You should look it up.

    I think they are funny stories.

    Hahaha ... nope.

    Do you know what the term “red herring” means?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 8 23:37:08 2024
    On 2/8/24 22:39, Lawrence D'Oliveiro wrote:
    Nope.

    You should look it up.

    I think they are funny stories.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to gtaylor@tnetconsulting.net on Fri Feb 9 06:29:20 2024
    On Thu, 8 Feb 2024 22:27:02 -0600, Grant Taylor
    <gtaylor@tnetconsulting.net> wrote in <uq49im$4q9$4@tncsrv09.home.tnetconsulting.net>:

    Doing something to enable case confusion and prefixing PATH with a . are
    a Bad Idea (TM).

    I agree with the latter opinion, but beg to differ regarding
    your "case confusion" conclusion.

    I just tried this on my own system, and I recommend you do
    the same with a loopback-mounted file.

    The way -F folding works, you can't have a directory entry for
    "foo" and "FOO". Examples:

    # cp foo FOO
    cp: 'foo' and 'FOO' are the same file

    # ll
    total 0
    -rw-r--r-- 1 root root 0 Feb 8 22:19 BAR
    -rw-r--r-- 1 root root 0 Feb 8 22:18 foo

    # > FOO

    # ll
    total 0
    -rw-r--r-- 1 root root 0 Feb 8 22:19 BAR
    -rw-r--r-- 1 root root 0 Feb 8 22:24 foo

    # mkdir BAR
    mkdir: cannot create directory ‘BAR’: File exists
    _ _ _ _ _ _ _

    ...and so forth.

    So it seems to me that the only problem you've
    illuminated is the "'.' in PATH problem", your
    opinion of which I agree with.

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Grant Taylor on Fri Feb 9 09:13:39 2024
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    On 2/8/24 04:58, Richard Kettlewell wrote:
    What’s the threat model here?

    It's different for different people.

    If an attacker can put a hostile command sU in /usr/bin, they must have
    been able to write /usr/bin, in which case they could just replace
    /usr/bin/su with their own version. They don’t need a case-insensitive
    filesystem to do that.

    The examples I gave were exactly that, overt examples meant to
    demonstrate a concept. There are MANY subtle ways that this type of
    thing can bite you.

    Such as...

    What if someone has `.` as the first directory in their PATH (.:/usr/local/bin:/usr/bin:/bin type thing) and the are in (their
    current working directory is) /tmp, and someone places a file named
    `SU` -- which is a wrapper around /bin/su -- and the person runs `su`
    to do something. The person unwittingly / inadvertently ran /tmp/SU
    instead of the expected /bin/su.

    As with your previous example, the attack works just as well on a case-sensitive filesystem: the attacker just creates /tmp/su. (For this
    reason it’s been common advice not to put ‘.’ in PATH since at least the last century.)

    There are multiple things that work in concert with each other to
    result in unexpected and likely unwanted behavior of the system. Each
    of the things is in and of itself innocuous enough. But combined
    ... unwanted things can easily, if not likely, happen.

    Depending exactly on how the case folding works, what library is used
    when someone needs to load libnss_dns.so:

    /lib/LIBNSS_DNS.SO
    /lib/LiBnSs_DnS.sO
    /lib/libnss_dns.so

    There are real examples with that structure but once again, I don’t
    think Lawrence was advocating doing it for /.

    That said, it’s possible that the majority of Unix laptop/desktop
    installs run a case-insensitive /, and while they do have problems with
    (for example) git cloning the linux kernel, there doesn’t seem to be a
    stream of security issues as a result.

    What if two users named Bob exist on the system from when case folding
    wasn't enabled:

    /home/BOB
    /home/bob

    Case folding is enabled.

    Eliding authentication issues, which home directory is used?

    That one is well into “play stupid games, win stupid prizes”. If your policy for naming home directories (or anything else) generates names
    that differ only in letter case, why would you choose to enable case-insensitive matching?

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Carlos E.R. on Fri Feb 9 10:00:11 2024
    On 08/02/2024 21:16, Carlos E.R. wrote:

    In current day Windows you can name files with upper, lower, mixed case.
    No matter how you do it, in Windows it is the same file. It is simply a prettier file name.


    Oh? Same as Apple then,

    I thought Winders had grown out of that.

    --
    "When one man dies it's a tragedy. When thousands die it's statistics."

    Josef Stalin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Grant Taylor on Fri Feb 9 09:17:31 2024
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    On 2/8/24 08:14, Richard Kettlewell wrote:
    However I don’t see Lawrence advocating doing it to whole system
    (i.e. /) so much as individual volumes or even directories.

    Lawrence didn't give any indication on the scope of where the setting
    would be used save for at the file system level and a vague reference
    to a directory.

    Without further guidance, it's natural to assume that it's the file
    system mount point -> entire file system.

    What’s natural is personal and situational. Assuming the worst possible interpretation of a text is probably a sensible thing to do in a
    high-stakes contract negotiation, but it really doesn’t seem like a good strategy in an informal discussion.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Lawrence D'Oliveiro on Fri Feb 9 10:02:58 2024
    On 08/02/2024 22:11, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 09:42:56 +0000, The Natural Philosopher wrote:

    I once mistakenly added a case sensitive disk to an Apple OS/X machine.
    Applications promptly stopped working.

    That’s the opposite of what we’re discussing here.

    But it's the same issue, just the other way around. Either case matters
    inside the code you are using or it doesn't. Switching that over makes
    stuff break.

    If you specify a lower case file name and you get an uppercase filename,
    it breaks your code.




    --
    The urge to save humanity is almost always a false front for the urge to
    rule.
    – H. L. Mencken, American journalist, 1880-1956

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Grant Taylor on Fri Feb 9 10:04:54 2024
    On 09/02/2024 01:04, Grant Taylor wrote:
    On 2/8/24 08:04, Richard Kettlewell wrote:
    Grant seems to think it is; he explicitly mentioned security.

    Security is the most obvious / easiest place to demonstrate problems
    that arise from case confusion.



    Frankly I dont think it is, but there ya go.

    I think breaking of applications is more likely.


    --
    "Socialist governments traditionally do make a financial mess. They
    always run out of other people's money. It's quite a characteristic of them"

    Margaret Thatcher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to vallor on Fri Feb 9 10:08:26 2024
    On 2/9/24 00:29, vallor wrote:
    The way -F folding works, you can't have a directory entry for "foo"
    and "FOO".

    You don't need different cased files of the same name in the same directory.

    All you need is the directory that contains the file in the case that
    differs from what you typed earlier in the PATH than the directory that contains the file in the case that you did type.

    Any directory and any file name suffices to be kicked by this case
    confusion problem.

    There are many ways for this to be arranged to happen.

    - too many people run things they download without reviewing them -
    they can easily modify the PATH a number of ways.
    - people can naively add a world writable directory to their PATH
    - NFS mounts in the PATH can be compromised at the source
    - someone could walk up to your terminal before a screen saver kicks
    in after you walk away
    - copying and pasting from web pages with embedded control codes to
    hide commands in what is pasted

    System security or safety or stability is all about doing as many things
    as possible to minimize exposure and chance of problems.

    As such, doing as many things as possible to avoid potential problems or contributing to a larger problem is Good Thing (TM). Not enabling
    something that could allow case confusion falls into that just like not prepending your PATH with `.`.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Richard Kettlewell on Fri Feb 9 10:11:34 2024
    On 2/9/24 03:13, Richard Kettlewell wrote:
    That one is well into “play stupid games, win stupid prizes”. If
    your policy for naming home directories (or anything else) generates
    names that differ only in letter case, why would you choose to enable case-insensitive matching?

    It's not always the same person that does both things. It's not always
    even remotely close together.

    Three consultants ago may have used /home/BOB as part of a migration to /home/bob for $SOME_REASON (restoration from backup?). One or more intermediate consultants come and go. The new consultant reads about an
    option that they think will simplify case and enables something. Now
    /home/bob and /home/BOB case confusion smacks them in the face.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Richard Kettlewell on Fri Feb 9 10:17:13 2024
    On 2/9/24 03:17, Richard Kettlewell wrote:
    What’s natural is personal and situational. Assuming the worst
    possible interpretation of a text is probably a sensible thing to do
    in a high-stakes contract negotiation, but it really doesn’t seem
    like a good strategy in an informal discussion.

    I've had a very good career out of assuming the worst (whatever will be
    the most work and / or take the longest) while hoping for the best
    (whatever will be the least work and / or take the least amount of time).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to The Natural Philosopher on Fri Feb 9 10:22:04 2024
    On 2/9/24 04:02, The Natural Philosopher wrote:
    But it's the same issue, just the other way around. Either case matters inside the code you are using or it doesn't. Switching that over makes
    stuff break.

    If you specify a lower case file name and you get an uppercase filename,
    it breaks your code.

    EXACTLY!!!

    How much damage and if you care about what breaks is independent of the
    fact that it breaks.

    Some things, like small speakers, just sound a little funny when parts
    of them break. Other things like damns cause catastrophic levels of
    damage when they break.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Fri Feb 9 10:19:51 2024
    On 2/8/24 23:41, Lawrence D'Oliveiro wrote:
    Here’s what the OP said:

    No ... that's not what the OP said, nor was that the OP.

    You, Lawrence, are the /original/ /poster/ of this long thread.

    The Natural Philosopher is who made the comment about Apple OS/X.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Fri Feb 9 10:15:47 2024
    On 2/8/24 23:42, Lawrence D'Oliveiro wrote:
    How come?

    I no longer remember why it was unclear at the time. 1) observers
    effect combined with the rest of the thread 2) I've slept since then.

    But I know that I was unclear / uncertain about the scope of what you
    were talking about.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Grant Taylor on Fri Feb 9 20:05:16 2024
    On 2024-02-09 02:12, Grant Taylor wrote:
    On 2/8/24 15:16, Carlos E.R. wrote:
    The point is, you never know what script or program may create or
    access a file of the same name but different case as another part of
    the program or another program. You can never be sure.

    Yep.

    That's feasible. For a Samba share, it would be desirable, it can
    avoid trouble in Windows programs that expect case to not matter.

    Samba (et al.) is (are) special case wherein the daemon does the case folding, not the underlying file system.

    IMHO this is the proper place to handle this type of conversion.

    I remember a report describing a problem precisely because somehow two different case files appeared within the samba scope. I don't remember
    the details.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to gtaylor@tnetconsulting.net on Fri Feb 9 19:14:36 2024
    On Fri, 9 Feb 2024 10:08:26 -0600, Grant Taylor
    <gtaylor@tnetconsulting.net> wrote in <uq5ilq$okd$1@tncsrv09.home.tnetconsulting.net>:

    On 2/9/24 00:29, vallor wrote:
    The way -F folding works, you can't have a directory entry for "foo"
    and "FOO".

    You don't need different cased files of the same name in the same
    directory.

    All you need is the directory that contains the file in the case that
    differs from what you typed earlier in the PATH than the directory that contains the file in the case that you did type.

    Any directory and any file name suffices to be kicked by this case
    confusion problem.

    There are many ways for this to be arranged to happen.

    - too many people run things they download without reviewing them -
    they can easily modify the PATH a number of ways.
    - people can naively add a world writable directory to their PATH -
    NFS mounts in the PATH can be compromised at the source - someone
    could walk up to your terminal before a screen saver kicks
    in after you walk away
    - copying and pasting from web pages with embedded control codes to
    hide commands in what is pasted

    System security or safety or stability is all about doing as many things
    as possible to minimize exposure and chance of problems.

    As such, doing as many things as possible to avoid potential problems or contributing to a larger problem is Good Thing (TM). Not enabling
    something that could allow case confusion falls into that just like not prepending your PATH with `.`.

    And again, your argument about PATHs is quite
    orthogonal from a problem with casefold ext4
    filesystem directory hierarchies.

    If you have to worry about someone dropping "." in your PATH, or
    someone adding a trusted command in a PATH directory before
    (say) /sbin, then you have bigger problems.

    And if someone were to build a system with a casefolded
    /sbin, and "su" lives there, then writing a malicious
    "SU" into the directory won't do anything but overwrite
    "su". But that's not a problem with the casefolding,
    that's a problem with permissions and
    how PATH is set.[*]

    The "elegant" part of the chattr +F scheme: you can't
    just turn it on for a directory -- the directory has
    to be empty. That means rules about what files get added
    are enforced. I encourage anyone to create a test filesystem
    in a file to play around with how it behaves.

    $ truncate -s 100M testfs.ext4
    $ mkfs.ext4 -E encoding=utf8 testfs.ext4

    ...then you mount it -oloop,rw, cd
    into it, make a test directory, and chattr +F
    the test directory.

    [*] I use bash -- adjust "PATH" variable name to suit your
    preferences. :)

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Richard Kettlewell on Fri Feb 9 21:13:36 2024
    On Fri, 09 Feb 2024 09:13:39 +0000, Richard Kettlewell wrote:

    /home/BOB
    /home/bob

    That one is well into “play stupid games, win stupid prizes”. If your policy for naming home directories (or anything else) generates names
    that differ only in letter case, why would you choose to enable case-insensitive matching?

    Maybe one Bob is known as “shouty Bob”, hence the uppercase name.

    Hey, how do I know what company the OP keeps ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 21:15:29 2024
    On Fri, 9 Feb 2024 10:17:13 -0600, Grant Taylor wrote:

    I've had a very good career out of assuming the worst ...

    But what you assume has to be actually possible. If you have to start
    assuming impossible things ... then, maybe, a nice, comfortable padded
    cell is the safest place for you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Grant Taylor on Fri Feb 9 21:16:28 2024
    On Fri, 9 Feb 2024 10:19:51 -0600, Grant Taylor wrote:

    On 2/8/24 23:41, Lawrence D'Oliveiro wrote:

    Here’s what the OP said:

    No ... that's not what the OP said, nor was that the OP.

    You are referring to the wrong posting. Check what I said again.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Fri Feb 9 21:20:12 2024
    On Fri, 9 Feb 2024 10:02:58 +0000, The Natural Philosopher wrote:

    On 08/02/2024 22:11, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 09:42:56 +0000, The Natural Philosopher wrote:

    I once mistakenly added a case sensitive disk to an Apple OS/X
    machine.
    Applications promptly stopped working.

    That’s the opposite of what we’re discussing here.

    But it's the same issue, just the other way around. Either case matters inside the code you are using or it doesn't. Switching that over makes
    stuff break.

    If your stuff is already written to be cross-platform-compatible with
    Apple’s or Microsoft’s platforms, then it will have already dealt with this.

    If the code is written to not care whether the filesystem is case-
    sensitive or not, then it will work either way.

    Standard coreutils programs like cp, mv, ls etc already work fine.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Fri Feb 9 17:34:40 2024
    On 2/9/24 15:16, Lawrence D'Oliveiro wrote:
    You are referring to the wrong posting. Check what I said again.

    You are apparently using Original Poster differently than everyone else
    I know uses it.

    Here's the References header / chain of your message:

    --8<--
    References: <uq1bsh$1lp15$5@dont-email.me>
    <dbud9kxt1s.ln2@Telcontar.valinor>
    <uq27n0$1tfdb$4@dont-email.me> <uq3jiv$25287$3@dont-email.me>
    <uq3uei$tu7$7@tncsrv09.home.tnetconsulting.net>
    <uq41t2$2a4jh$6@dont-email.me>
    <uq48vu$4q9$2@tncsrv09.home.tnetconsulting.net>
    <uq4ad1$2fjnu$3@dont-email.me>
    <uq4dks$rko$2@tncsrv09.home.tnetconsulting.net>
    <uq4dti$2g52k$1@dont-email.me>
    <uq5jb7$okd$5@tncsrv09.home.tnetconsulting.net>
    8--

    Pay attention to "<uq1bsh$1lp15$5@dont-email.me>".

    Then look at the Message-ID: header of the first message in this thread,
    your message:

    --8<--
    From: Lawrence D'Oliveiro <ldo@nz.invalid>
    Newsgroups: comp.os.linux.misc
    Subject: Case-Insensitive File/Directory Names
    Date: Thu, 8 Feb 2024 01:48:02 -0000 (UTC)
    Message-ID: <uq1bsh$1lp15$5@dont-email.me>
    Injection-Date: Thu, 8 Feb 2024 01:48:02 -0000 (UTC)

    Did you know that the ext4 filesystem has the option for case-insensitive file/directory names?
    8--

    The Natural Philosopher did say "I once mistakenly ...". But they were
    not the /original/ /poster/.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From immibis@21:1/5 to Grant Taylor on Sat Feb 10 02:34:25 2024
    On 9/02/24 01:52, Grant Taylor wrote:
    On 2/7/24 23:45, Lawrence D'Oliveiro wrote:
    The first one that matches, same as now.

    I disagree.

    `su` (lower case) is decidedly not `SU` upper case.

    And if your system was using case insensitive files like you are
    suggesting and I arranged to put `SU` in a directory earlier in your
    path, you just ran a trojan when you mean to run `su`.

    This is a first hand example of why case folding is a Bad Idea (TM).




    You are making a big deal out of the fact that if there is a trojan in
    your $PATH, you might accidentally run it.

    Yes.

    Don't put trojans in your $PATH, no matter what they are called.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Lawrence D'Oliveiro on Sat Feb 10 01:44:48 2024
    On 09/02/2024 21:20, Lawrence D'Oliveiro wrote:
    On Fri, 9 Feb 2024 10:02:58 +0000, The Natural Philosopher wrote:

    On 08/02/2024 22:11, Lawrence D'Oliveiro wrote:
    On Thu, 8 Feb 2024 09:42:56 +0000, The Natural Philosopher wrote:

    I once mistakenly added a case sensitive disk to an Apple OS/X
    machine.
    Applications promptly stopped working.

    That’s the opposite of what we’re discussing here.

    But it's the same issue, just the other way around. Either case matters
    inside the code you are using or it doesn't. Switching that over makes
    stuff break.

    If your stuff is already written to be cross-platform-compatible with Apple’s or Microsoft’s platforms, then it will have already dealt with this.

    It wasn't. It was Quark Xpress. Back in about 2008 or thereabouts.

    If the code is written to not care whether the filesystem is case-
    sensitive or not, then it will work either way.

    It wasn't. It was written on the assumption that case didn't matter in filenames. When I created a filesystem where it did matter, it wouldn't run.

    Standard coreutils programs like cp, mv, ls etc already work fine.

    They are linux utils.

    Not OS/X per se


    --
    "And if the blind lead the blind, both shall fall into the ditch".

    Gospel of St. Mathew 15:14

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Sat Feb 10 02:28:45 2024
    On Sat, 10 Feb 2024 01:44:48 +0000, The Natural Philosopher wrote:

    On 09/02/2024 21:20, Lawrence D'Oliveiro wrote:

    Standard coreutils programs like cp, mv, ls etc already work fine.

    They are linux utils.

    Wasn’t the argument made that there would be problems in both directions?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Lawrence D'Oliveiro on Sat Feb 10 08:24:00 2024
    On 10/02/2024 02:28, Lawrence D'Oliveiro wrote:
    On Sat, 10 Feb 2024 01:44:48 +0000, The Natural Philosopher wrote:

    On 09/02/2024 21:20, Lawrence D'Oliveiro wrote:

    Standard coreutils programs like cp, mv, ls etc already work fine.

    They are linux utils.

    Wasn’t the argument made that there would be problems in both directions?

    Probably. What has that got to do with anything?

    Do you linux geeks EVER run applications that run outside the command line?

    --
    In a Time of Universal Deceit, Telling the Truth Is a Revolutionary Act.

    - George Orwell

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Lawrence D'Oliveiro on Sat Feb 10 10:44:14 2024
    On 2024-02-09 22:16, Lawrence D'Oliveiro wrote:
    On Fri, 9 Feb 2024 10:19:51 -0600, Grant Taylor wrote:

    On 2/8/24 23:41, Lawrence D'Oliveiro wrote:

    Here’s what the OP said:

    No ... that's not what the OP said, nor was that the OP.

    You are referring to the wrong posting. Check what I said again.


    There is only a single OP, which is always the parent post of the entire thread, which is yours in this case, a post in which you explained how
    to make ext4 directories case insensitive, on 2024-02-08 02:48

    If the thread then diverges in other branches, the OP remains being the
    same, for ever. Even if the Subject line is changed.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Carlos E.R. on Sat Feb 10 10:21:53 2024
    On 10/02/2024 09:44, Carlos E.R. wrote:
    On 2024-02-09 22:16, Lawrence D'Oliveiro wrote:
    On Fri, 9 Feb 2024 10:19:51 -0600, Grant Taylor wrote:

    On 2/8/24 23:41, Lawrence D'Oliveiro wrote:

    Here’s what the OP said:

    No ... that's not what the OP said, nor was that the OP.

    You are referring to the wrong posting. Check what I said again.


    There is only a single OP, which is always the parent post of the entire thread, which is yours in this case, a post in which you explained how
    to make ext4 directories case insensitive, on 2024-02-08 02:48

    If the thread then diverges in other branches, the OP remains being the
    same, for ever. Even if the Subject line is changed.

    I love the smell of semantics in the morning.

    --
    Truth welcomes investigation because truth knows investigation will lead
    to converts. It is deception that uses all the other techniques.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Olschok@21:1/5 to All on Sun Feb 11 00:12:53 2024
    On Fri, 09 Feb 2024 02:20:15 Grant Taylor wrote:
    On 2/8/24 18:39, Marc Olschok wrote:
    I did not know and in fact I cannot think of a situation where I
    would desire case-insensitivity.

    I used it in the late '90s to host files on a Linux web server that had
    been written to be hosted on a Windows web server. There were WAY TOO
    MANY mixed case references to the same file. index.html != INDEX.HTML
    != InDeX.hTmL.

    Enabling the feature on the Document Root for that site allowed the
    Linux box to serve that site without any modifications.

    Well, sanitizing the html files containing the references would have
    been my first idea. But I see that this is a matter of the amount of
    work involved. Nowadays one would problably use rewrite rules within
    the server.

    --
    M.O.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to tnp@invalid.invalid on Sun Feb 11 00:08:28 2024
    On Sat, 10 Feb 2024 10:21:53 +0000, The Natural Philosopher <tnp@invalid.invalid> wrote in <uq7io1$34gg1$1@dont-email.me>:

    On 10/02/2024 09:44, Carlos E.R. wrote:
    On 2024-02-09 22:16, Lawrence D'Oliveiro wrote:
    On Fri, 9 Feb 2024 10:19:51 -0600, Grant Taylor wrote:

    On 2/8/24 23:41, Lawrence D'Oliveiro wrote:

    Here’s what the OP said:

    No ... that's not what the OP said, nor was that the OP.

    You are referring to the wrong posting. Check what I said again.


    There is only a single OP, which is always the parent post of the
    entire thread, which is yours in this case, a post in which you
    explained how to make ext4 directories case insensitive, on 2024-02-08
    02:48

    If the thread then diverges in other branches, the OP remains being the
    same, for ever. Even if the Subject line is changed.

    I love the smell of semantics in the morning.

    In any event, the only real complaint I've seen is when
    a case-sensitive filesystem, with casefolded name collisions,
    is switched to case-insensitive.

    But you can't do that with Linux. The Linux scheme of doing
    this: first, the filesystem has to be specially-formatted
    to even support the casefolding. Then, the *empty*
    directory needs to be set chattr +F. Since
    the directory _must_ be empty, there won't be
    any name collisions.

    This approach appears to have been well thought-out,
    and I imagine it might be useful for web
    directory hierarchies.

    --
    -v

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Marc Olschok on Sat Feb 10 18:21:42 2024
    On 2/10/24 18:12, Marc Olschok wrote:
    Well, sanitizing the html files containing the references would have
    been my first idea. But I see that this is a matter of the amount of
    work involved. Nowadays one would problably use rewrite rules within
    the server.

    I looked into that, but it wasn't an option for me.

    It was some sort of HTML version of dead tree books; think O'Reilly
    animal collection or something like that.

    The HTML files were one thing, but the search engine bit was another.

    There was something that was going to be a LOT of work to fix and then
    there was going to be something else that was impossible to fix without
    source code.

    Allowing mixed case support was about #5 of the preference list, but it
    is what was done for the task then at hand.

    But it was only done for the directory containing the books.

    I also don't remember it requiring a format. But that was many file
    systems ago.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to vallor on Sun Feb 11 08:56:47 2024
    On 11/02/2024 00:08, vallor wrote:
    On Sat, 10 Feb 2024 10:21:53 +0000, The Natural Philosopher <tnp@invalid.invalid> wrote in <uq7io1$34gg1$1@dont-email.me>:

    On 10/02/2024 09:44, Carlos E.R. wrote:
    On 2024-02-09 22:16, Lawrence D'Oliveiro wrote:
    On Fri, 9 Feb 2024 10:19:51 -0600, Grant Taylor wrote:

    On 2/8/24 23:41, Lawrence D'Oliveiro wrote:

    Here’s what the OP said:

    No ... that's not what the OP said, nor was that the OP.

    You are referring to the wrong posting. Check what I said again.


    There is only a single OP, which is always the parent post of the
    entire thread, which is yours in this case, a post in which you
    explained how to make ext4 directories case insensitive, on 2024-02-08
    02:48

    If the thread then diverges in other branches, the OP remains being the
    same, for ever. Even if the Subject line is changed.

    I love the smell of semantics in the morning.

    In any event, the only real complaint I've seen is when
    a case-sensitive filesystem, with casefolded name collisions,
    is switched to case-insensitive.

    But you can't do that with Linux. The Linux scheme of doing
    this: first, the filesystem has to be specially-formatted
    to even support the casefolding. Then, the *empty*
    directory needs to be set chattr +F. Since
    the directory _must_ be empty, there won't be
    any name collisions.

    This approach appears to have been well thought-out,
    and I imagine it might be useful for web
    directory hierarchies.

    Does anyone still use those? 99% of big sites seem to use some active interpretation of URLS to serve you a bunch of executable - or is that execrable - javaScript code..and any case folding is done there.




    --
    I would rather have questions that cannot be answered...
    ...than to have answers that cannot be questioned

    Richard Feynman

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Kempe@21:1/5 to All on Sun Feb 11 21:06:50 2024
    Den 2024-02-09 skrev Marc Olschok <nobody@nowhere.invalid>:
    On Thu, 08 Feb 2024 02:48:02 Lawrence D'Oliveiro wrote:
    Did you know that the ext4 filesystem has the option for case-insensitive
    file/directory names?[...]

    I did not know and in fact I cannot think of a situation where I
    would desire case-insensitivity. But of course it helps to be aware
    of this possibility just in case one runs into a system configured
    this way. Thanks.


    I would desire it for every day use, because there are practically no
    instances where I would want to differentiate two files only by
    character casing. As an example, I will never create Report.tex and
    report.tex in the same directory as two separate reports.

    I think Windows got this one right, but I also think that the
    case-sensitive assumption has been prevalent in *nix for too long for
    me to ever run my file systems case-insensitive.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Olschok@21:1/5 to All on Sun Feb 11 23:12:40 2024
    On Sun, 11 Feb 2024 22:06:50 Andreas Kempe wrote:
    Den 2024-02-09 skrev Marc Olschok <nobody@nowhere.invalid>:
    On Thu, 08 Feb 2024 02:48:02 Lawrence D'Oliveiro wrote:
    Did you know that the ext4 filesystem has the option for case-insensitive >>> file/directory names?[...]

    I did not know and in fact I cannot think of a situation where I
    would desire case-insensitivity. But of course it helps to be aware
    of this possibility just in case one runs into a system configured
    this way. Thanks.


    I would desire it for every day use, because there are practically no instances where I would want to differentiate two files only by
    character casing. As an example, I will never create Report.tex and report.tex in the same directory as two separate reports.

    Neither would I. However I often use case to distinguish
    - files and Directories
    - tracks and Albums among mp3/ogg music files
    - journal articles and Books
    and of course I want to preserve this when moving stuff around.
    And sometimes I encountered downloads where some files only
    differed in case, so although I would not do this, I always
    felt to be on the safer side when I could distinguish them afterwards.


    I think Windows got this one right, but I also think that the
    case-sensitive assumption has been prevalent in *nix for too long for
    me to ever run my file systems case-insensitive.

    Yes, I guess this is the most compelling reason.

    --
    M.O.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Andreas Kempe on Sun Feb 11 23:30:54 2024
    On Sun, 11 Feb 2024 21:06:50 -0000 (UTC), Andreas Kempe wrote:

    I think Windows got this one right ...

    I would be careful about jumping to that conclusion, judging from
    remarks like <https://stackoverflow.com/questions/20181505/unicode-case-folding-to-upper-case>.

    Remember that Windows, like Java, is saddled with that clunky
    albatross known as “UTF-16”, since it embraced Unicode back when
    everybody had been led to believe that it was a fixed-length 16 bit
    code. And also before Unicode actually developed its standard
    case-folding algorithm.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack Strangio@21:1/5 to The Natural Philosopher on Mon Feb 12 00:54:01 2024
    The Natural Philosopher <tnp@invalid.invalid> writes:

    Do you linux geeks EVER run applications that run outside the command line?


    Of course. But only if something actually needs graphics.

    For all the rest, (even this news reader), there is the Xterm.

    Jack
    --
    She came late to bed at 3AM. "You're drunk" I said.
    She asked "How do you know?"
    "You live next door." I replied.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Jack Strangio on Sun Feb 11 23:07:06 2024
    On 2/11/24 18:54, Jack Strangio wrote:
    Of course. But only if something actually needs graphics.

    For all the rest, (even this news reader), there is the Xterm.

    XTerm supports (at least) three types of graphics;

    - ASCII character based
    - SIXEL raster pixel based
    - ReGIS vector pixel based

    Also, XTerm is in and of itself a GUI application emulating a terminal.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Kempe@21:1/5 to All on Mon Feb 12 12:43:58 2024
    Den 2024-02-11 skrev Lawrence D'Oliveiro <ldo@nz.invalid>:
    On Sun, 11 Feb 2024 21:06:50 -0000 (UTC), Andreas Kempe wrote:

    I think Windows got this one right ...

    I would be careful about jumping to that conclusion, judging from
    remarks like
    <https://stackoverflow.com/questions/20181505/unicode-case-folding-to-upper-case>.


    I had never heard of the Compound File Binary format this question
    pertains to and fail to see an obvious connection to their file
    systems being case-insensitive. Does NTFS also have the issue that
    they upper-case everything, making some file names ambiguous?

    Regardless of Microsoft's implementation possibly being buggy, I stand
    by my opinion of a case-insensitive file system being a good idea.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Andreas Kempe on Mon Feb 12 13:20:56 2024
    On 12/02/2024 12:43, Andreas Kempe wrote:
    Den 2024-02-11 skrev Lawrence D'Oliveiro <ldo@nz.invalid>:
    On Sun, 11 Feb 2024 21:06:50 -0000 (UTC), Andreas Kempe wrote:

    I think Windows got this one right ...

    I would be careful about jumping to that conclusion, judging from
    remarks like
    <https://stackoverflow.com/questions/20181505/unicode-case-folding-to-upper-case>.


    I had never heard of the Compound File Binary format this question
    pertains to and fail to see an obvious connection to their file
    systems being case-insensitive. Does NTFS also have the issue that
    they upper-case everything, making some file names ambiguous?

    Regardless of Microsoft's implementation possibly being buggy, I stand
    by my opinion of a case-insensitive file system being a good idea.

    Whatever floats your boat.

    I see it, in a linux contezt, as YANF - yet another needless feature
    that will break the *expected* behaviour of a file system.

    Linux and Unix have *never been* cause insensitive with respect to
    filenames.

    As with deciding that it's OK to drive on any side of the road you feel
    like, I see trouble, ahead...:-)



    --
    If you tell a lie big enough and keep repeating it, people will
    eventually come to believe it. The lie can be maintained only for such
    time as the State can shield the people from the political, economic
    and/or military consequences of the lie. It thus becomes vitally
    important for the State to use all of its powers to repress dissent, for
    the truth is the mortal enemy of the lie, and thus by extension, the
    truth is the greatest enemy of the State.

    Joseph Goebbels

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Kempe@21:1/5 to All on Mon Feb 12 13:26:32 2024
    Den 2024-02-12 skrev The Natural Philosopher <tnp@invalid.invalid>:
    On 12/02/2024 12:43, Andreas Kempe wrote:
    Den 2024-02-11 skrev Lawrence D'Oliveiro <ldo@nz.invalid>:
    On Sun, 11 Feb 2024 21:06:50 -0000 (UTC), Andreas Kempe wrote:

    I think Windows got this one right ...

    I would be careful about jumping to that conclusion, judging from
    remarks like
    <https://stackoverflow.com/questions/20181505/unicode-case-folding-to-upper-case>.


    I had never heard of the Compound File Binary format this question
    pertains to and fail to see an obvious connection to their file
    systems being case-insensitive. Does NTFS also have the issue that
    they upper-case everything, making some file names ambiguous?

    Regardless of Microsoft's implementation possibly being buggy, I stand
    by my opinion of a case-insensitive file system being a good idea.

    Whatever floats your boat.

    I see it, in a linux contezt, as YANF - yet another needless feature
    that will break the *expected* behaviour of a file system.

    Linux and Unix have *never been* cause insensitive with respect to
    filenames.

    As with deciding that it's OK to drive on any side of the road you feel
    like, I see trouble, ahead...:-)


    If you read my prior post, you will see that while I think a
    case-insensitive file system is preferrable, I also realise that that
    train left the station a long time ago for Linux and Unix. All my file
    systems are case-sensitive to avoid issues.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Mon Feb 12 20:48:26 2024
    On Mon, 12 Feb 2024 13:20:56 +0000, The Natural Philosopher wrote:

    Linux and Unix have *never been* cause insensitive with respect to
    filenames.

    Linux, in particular, has long had the capacity to cope with inherently case-insensitive filesystems proprietary to other platforms: e.g.
    Microsoft’s NTFS and FAT family, Apple’s HFS and HFS-Plus. So case- insensitivity on Linux is nothing really new.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Lawrence D'Oliveiro on Mon Feb 12 22:41:19 2024
    On 2024-02-12 21:48, Lawrence D'Oliveiro wrote:
    On Mon, 12 Feb 2024 13:20:56 +0000, The Natural Philosopher wrote:

    Linux and Unix have *never been* cause insensitive with respect to
    filenames.

    Linux, in particular, has long had the capacity to cope with inherently case-insensitive filesystems proprietary to other platforms: e.g. Microsoft’s NTFS and FAT family, Apple’s HFS and HFS-Plus. So case- insensitivity on Linux is nothing really new.

    As data store, not for the system itself.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to The Natural Philosopher on Mon Feb 12 22:37:26 2024
    On 2024-02-10 09:24, The Natural Philosopher wrote:
    On 10/02/2024 02:28, Lawrence D'Oliveiro wrote:
    On Sat, 10 Feb 2024 01:44:48 +0000, The Natural Philosopher wrote:

    On 09/02/2024 21:20, Lawrence D'Oliveiro wrote:

    Standard coreutils programs like cp, mv, ls etc already work fine.

    They are linux utils.

    Wasn’t the argument made that there would be problems in both directions?

    Probably. What has that got to do with anything?

    Do you linux geeks EVER run applications that run outside the command line?

    Certainly, full time.

    This instant, for instance: Firefox (two different profiles),
    Thunderbird, Libre Office... and several others you will not know.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Carlos E.R. on Mon Feb 12 22:10:27 2024
    On Mon, 12 Feb 2024 22:41:19 +0100, Carlos E.R. wrote:

    On 2024-02-12 21:48, Lawrence D'Oliveiro wrote:

    On Mon, 12 Feb 2024 13:20:56 +0000, The Natural Philosopher wrote:

    Linux and Unix have *never been* cause insensitive with respect to
    filenames.

    Linux, in particular, has long had the capacity to cope with inherently
    case-insensitive filesystems proprietary to other platforms: e.g.
    Microsoft’s NTFS and FAT family, Apple’s HFS and HFS-Plus. So case-
    insensitivity on Linux is nothing really new.

    As data store, not for the system itself.

    Not sure a) what that means, or b) what its relevance is to anything.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to The Natural Philosopher on Mon Feb 12 22:30:19 2024
    The Natural Philosopher <tnp@invalid.invalid> writes:
    Linux and Unix have *never been* cause insensitive with respect to
    filenames.

    macOS (almost certainly the most widely used desktop Unix) has been case insensitive all along.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Richard Kettlewell on Mon Feb 12 23:55:04 2024
    On Mon, 12 Feb 2024 22:30:19 +0000, Richard Kettlewell wrote:

    The Natural Philosopher <tnp@invalid.invalid> writes:

    Linux and Unix have *never been* cause insensitive with respect to
    filenames.

    macOS (almost certainly the most widely used desktop Unix) has been case insensitive all along.

    And it is the one system that is officially entitled to call itself
    “Unix”.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Lawrence D'Oliveiro on Tue Feb 13 02:13:16 2024
    On 2024-02-12 23:10, Lawrence D'Oliveiro wrote:
    On Mon, 12 Feb 2024 22:41:19 +0100, Carlos E.R. wrote:

    On 2024-02-12 21:48, Lawrence D'Oliveiro wrote:

    On Mon, 12 Feb 2024 13:20:56 +0000, The Natural Philosopher wrote:

    Linux and Unix have *never been* cause insensitive with respect to
    filenames.

    Linux, in particular, has long had the capacity to cope with inherently
    case-insensitive filesystems proprietary to other platforms: e.g.
    Microsoft’s NTFS and FAT family, Apple’s HFS and HFS-Plus. So case-
    insensitivity on Linux is nothing really new.

    As data store, not for the system itself.

    Not sure a) what that means, or b) what its relevance is to anything.

    No? Then I will not explain.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Carlos E.R. on Tue Feb 13 01:28:22 2024
    On Tue, 13 Feb 2024 02:13:16 +0100, Carlos E.R. wrote:

    Then I will not explain.

    Big surprise ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Mon Feb 12 20:35:45 2024
    On 2/12/24 17:55, Lawrence D'Oliveiro wrote:
    And it is the one system that is officially entitled to call itself “Unix”.

    Solaris, AIX, HP-UX, OpenMVS, OpenServer, and UnixWare question the
    veracity of /the/ /one/.

    There's even a Linux distribution that has permission to call itself "Unix".



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack Strangio@21:1/5 to Grant Taylor on Tue Feb 13 03:20:17 2024
    Grant Taylor <gtaylor@tnetconsulting.net> writes:

    XTerm supports (at least) three types of graphics;

    And not forgetting (n)curses-based

    Also, XTerm is in and of itself a GUI application emulating a terminal.

    Yeah. Isn't it great? Instead of being restricted to 7 or 8 pure text-only virtual terminals, I can take advantage of half a dozen or so virtual
    desktops and XTerm and have literally dozens of text terminals open at the
    same time. (I tend to do that.)

    :)

    Jack
    --
    They call me 007 at work:
    0 Motivation
    0 Skills
    7 Smoke Breaks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Jack Strangio on Mon Feb 12 23:05:47 2024
    On 2/12/24 21:20, Jack Strangio wrote:
    And not forgetting (n)curses-based

    The ASCII character based I mentioned covers that.

    IMHO (n)curses is a way to manage what characters are written where.

    Yeah. Isn't it great? Instead of being restricted to 7 or 8 pure
    text-only virtual terminals, I can take advantage of half a dozen
    or so virtual desktops and XTerm and have literally dozens of text
    terminals open at the same time. (I tend to do that.)


    Yep.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Jack Strangio on Tue Feb 13 06:56:56 2024
    On Tue, 13 Feb 2024 03:20:17 -0000 (UTC), Jack Strangio wrote:

    Also, XTerm is in and of itself a GUI application emulating a terminal.

    Yeah. Isn't it great? Instead of being restricted to 7 or 8 pure
    text-only virtual terminals, I can take advantage of half a dozen or so virtual desktops and XTerm and have literally dozens of text terminals
    open at the same time. (I tend to do that.)

    And copy-and-paste, that great innovation of the GUI paradigm, works
    really well between text (editor and terminal) windows. Very useful for automating command sequences.

    Paradoxically, GUIs do not let you copy-and-paste sequences of actions (keystrokes and mouse clicks), or even settings of GUI widgets, between windows. So they force you to repeat all the settings/actions again.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Grant Taylor on Tue Feb 13 08:31:22 2024
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    On 2/12/24 17:55, Lawrence D'Oliveiro wrote:
    And it is the one system that is officially entitled to call itself
    “Unix”.

    I don’t think TNP was talking about the trademark users so much as the
    wider set of things which provide a reasonably faithful implementation
    of the normal Unix interfaces.

    Solaris, AIX, HP-UX, OpenMVS, OpenServer, and UnixWare question the
    veracity of /the/ /one/.

    The context was ‘desktop Unix’, and most of those only made any sense as server deployments. Solaris certainly qualified in the past but it’d be
    a weird choice today. I can’t remember if Unixware ever had pretences to desktop use, I only used it as a server (until Linux matured enough to
    replace it).

    There's even a Linux distribution that has permission to call itself
    "Unix".

    So I’ve heard.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Richard Kettlewell on Tue Feb 13 08:58:54 2024
    On 12/02/2024 22:30, Richard Kettlewell wrote:
    The Natural Philosopher <tnp@invalid.invalid> writes:
    Linux and Unix have *never been* cause insensitive with respect to
    filenames.

    macOS (almost certainly the most widely used desktop Unix) has been case insensitive all along.

    Well no, it hasn't.
    That was the source of a huge exercise in finding out .
    When I added a case sensitive HFS disk to an existing Mac OS/X and all
    hell broke loose


    --
    Truth welcomes investigation because truth knows investigation will lead
    to converts. It is deception that uses all the other techniques.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Richard Kettlewell on Tue Feb 13 09:06:11 2024
    On 13/02/2024 08:31, Richard Kettlewell wrote:
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    On 2/12/24 17:55, Lawrence D'Oliveiro wrote:
    And it is the one system that is officially entitled to call itself
    “Unix”.

    I don’t think TNP was talking about the trademark users so much as the wider set of things which provide a reasonably faithful implementation
    of the normal Unix interfaces.

    Solaris, AIX, HP-UX, OpenMVS, OpenServer, and UnixWare question the
    veracity of /the/ /one/.

    The context was ‘desktop Unix’, and most of those only made any sense as server deployments. Solaris certainly qualified in the past but it’d be
    a weird choice today. I can’t remember if Unixware ever had pretences to desktop use, I only used it as a server (until Linux matured enough to replace it).
    HP UX and IRIX were used woith SUNOS and Solaris as powerful desktop environments back in the day. Half the City ran on SUNOS on SPARC
    workstations.

    There's even a Linux distribution that has permission to call itself
    "Unix".

    So I’ve heard.


    And I don't class OS/X as Unix, any more than I class Android as Linux.

    OS/X simply took a short cut to its development by using BSAD kernel -
    almost none of that operating system's normal utilities are left. All is replaced by a veneer of sophistication that is the GUI. ]

    Which doesn't even run X windows.

    And, as I discovered. OS/X IS case sensitive *if the file system serving
    it, is*.




    --
    A lie can travel halfway around the world while the truth is putting on
    its shoes.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eric Pozharski@21:1/5 to Andreas Kempe on Tue Feb 13 10:04:18 2024
    with <uqbcta$1cov$1@nyheter.lysator.liu.se> Andreas Kempe wrote:
    Den 2024-02-09 skrev Marc Olschok <nobody@nowhere.invalid>:
    On Thu, 08 Feb 2024 02:48:02 Lawrence D'Oliveiro wrote:

    Did you know that the ext4 filesystem has the option for
    case-insensitive file/directory names?[...]
    I did not know and in fact I cannot think of a situation where I
    would desire case-insensitivity. But of course it helps to be aware
    of this possibility just in case one runs into a system configured
    this way. Thanks.
    *SKIP* [ 7 lines 2 levels deep]
    I think Windows got this one right, but I also think that the
    case-sensitive assumption has been prevalent in *nix for too long for
    me to ever run my file systems case-insensitive.

    So it seems The Industry(TM) is about to snap on caseless filesystems
    any moment now. Because windows-does-it is reason good enough.

    --
    Torvalds' goal for Linux is very simple: World Domination
    Stallman's goal for GNU is even simpler: Freedom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to The Natural Philosopher on Tue Feb 13 06:54:56 2024
    On 2/13/24 03:06, The Natural Philosopher wrote:
    And I don't class OS/X as Unix, any more than I class Android as Linux.

    You may not classify OS/X as a Unix, but I think it has a legal right to
    call itself such.

    OS/X simply took a short cut to its development by using BSAD kernel -
    almost none of that operating system's normal utilities are left. All is replaced by a veneer of sophistication that is the GUI. ]

    What defines a Unix OS is sometimes a little non-obvious.

    Which doesn't even run X windows.

    I am fairly certain that you can /add/ X11 server capability to macOS
    with optional components from Apple /without/ much effort.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Lawrence D'Oliveiro on Tue Feb 13 13:58:21 2024
    On 2024-02-13 07:56, Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 03:20:17 -0000 (UTC), Jack Strangio wrote:

    Also, XTerm is in and of itself a GUI application emulating a terminal.

    Yeah. Isn't it great? Instead of being restricted to 7 or 8 pure
    text-only virtual terminals, I can take advantage of half a dozen or so
    virtual desktops and XTerm and have literally dozens of text terminals
    open at the same time. (I tend to do that.)

    And copy-and-paste, that great innovation of the GUI paradigm, works
    really well between text (editor and terminal) windows. Very useful for automating command sequences.

    Paradoxically, GUIs do not let you copy-and-paste sequences of actions (keystrokes and mouse clicks), or even settings of GUI widgets, between windows. So they force you to repeat all the settings/actions again.

    Right! Interesting idea.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to Andreas Kempe on Tue Feb 13 13:52:11 2024
    On 12/02/2024 12:43, Andreas Kempe wrote:
    Den 2024-02-11 skrev Lawrence D'Oliveiro <ldo@nz.invalid>:
    On Sun, 11 Feb 2024 21:06:50 -0000 (UTC), Andreas Kempe wrote:

    I think Windows got this one right ...

    I would be careful about jumping to that conclusion, judging from
    remarks like
    <https://stackoverflow.com/questions/20181505/unicode-case-folding-to-upper-case>.


    I had never heard of the Compound File Binary format this question
    pertains to and fail to see an obvious connection to their file
    systems being case-insensitive. Does NTFS also have the issue that
    they upper-case everything, making some file names ambiguous?


    NTFS is case-sensitive. Windows OS is case-preserving.

    I don't really care much one way or the other, but having Unix and
    Windows behave differently is potentially a problem.

    The Unix case-sensitive filename paradigm seems to me much easier to understand, so I would plump for that as better.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to Pancho on Tue Feb 13 14:00:00 2024
    On 13/02/2024 13:52, Pancho wrote:
    On 12/02/2024 12:43, Andreas Kempe wrote:
    Den 2024-02-11 skrev Lawrence D'Oliveiro <ldo@nz.invalid>:
    On Sun, 11 Feb 2024 21:06:50 -0000 (UTC), Andreas Kempe wrote:

    I think Windows got this one right ...

    I would be careful about jumping to that conclusion, judging from
    remarks like
    <https://stackoverflow.com/questions/20181505/unicode-case-folding-to-upper-case>.


    I had never heard of the Compound File Binary format this question
    pertains to and fail to see an obvious connection to their file
    systems being case-insensitive. Does NTFS also have the issue that
    they upper-case everything, making some file names ambiguous?


    NTFS is case-sensitive. Windows OS is case-preserving.


    Sorry, I meant Windows OS is case-preserving, to an extent. If you
    create a filename, it will preserve the case you specify. However, case
    cannot be used to correctly distinguish between filenames which differ
    only in case.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geoff Clare@21:1/5 to Richard Kettlewell on Tue Feb 13 13:25:10 2024
    Richard Kettlewell wrote:

    macOS (almost certainly the most widely used desktop Unix) has been case insensitive all along.

    It's configurable (per file system I believe).

    In order to pass the UNIX conformance tests, Apple must be running
    the tests on a case sensitive file system.

    --
    Geoff Clare <netnews@gclare.org.uk>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Grant Taylor on Tue Feb 13 14:29:16 2024
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    On 2/13/24 03:06, The Natural Philosopher wrote:
    Which doesn't even run X windows.

    I am fairly certain that you can /add/ X11 server capability to macOS
    with optional components from Apple /without/ much effort.

    Yes, it ran X11 fine as a more-or-less standard feature back in the
    day. XQuartz still exists though it’s been a few years since the last release; I suspect it’s reached the point that basically nobody cares
    any more.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to The Natural Philosopher on Tue Feb 13 14:58:32 2024
    On 13/02/2024 09:06, The Natural Philosopher wrote:
    On 13/02/2024 08:31, Richard Kettlewell wrote:
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    On 2/12/24 17:55, Lawrence D'Oliveiro wrote:
    And it is the one system that is officially entitled to call itself
    “Unix”.

    I don’t think TNP was talking about the trademark users so much as the
    wider set of things which provide a reasonably faithful implementation
    of the normal Unix interfaces.

    Solaris, AIX, HP-UX, OpenMVS, OpenServer, and UnixWare question the
    veracity of /the/ /one/.

    The context was ‘desktop Unix’, and most of those only made any sense as >> server deployments. Solaris certainly qualified in the past but it’d be
    a weird choice today. I can’t remember if Unixware ever had pretences to >> desktop use, I only used it as a server (until Linux matured enough to
    replace it).
    HP UX and IRIX were used woith SUNOS and Solaris as powerful desktop environments back in the day. Half the City ran on SUNOS on SPARC workstations.

    I doubt half, just a sizeable proportion, in the early to mid 1990s. But
    Excel was always king, and that didn't run on Unix. Lotus 123, which did
    run on Sparcs, was a bit shit in comparison.

    It was recognised as a huge error by 1995, due to faster Intel CPUs, and especially after Windows NT came along.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Tue Feb 13 20:42:16 2024
    On Tue, 13 Feb 2024 09:06:11 +0000, The Natural Philosopher wrote:

    And I don't class OS/X as Unix ...

    They are legally allowed to use the trademark. They are just about the
    only platform left standing that does.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Geoff Clare on Tue Feb 13 20:41:03 2024
    On Tue, 13 Feb 2024 13:25:10 +0000, Geoff Clare wrote:

    Richard Kettlewell wrote:

    macOS (almost certainly the most widely used desktop Unix) has been
    case insensitive all along.

    It's configurable (per file system I believe).

    In order to pass the UNIX conformance tests, Apple must be running the
    tests on a case sensitive file system.

    Is this end-user-settable, at all?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Carlos E.R. on Tue Feb 13 20:44:04 2024
    On Tue, 13 Feb 2024 13:58:21 +0100, Carlos E.R. wrote:

    On 2024-02-13 07:56, Lawrence D'Oliveiro wrote:

    Paradoxically, GUIs do not let you copy-and-paste sequences of actions
    (keystrokes and mouse clicks), or even settings of GUI widgets, between
    windows. So they force you to repeat all the settings/actions again.

    Right! Interesting idea.

    Command lines let you automate repetitive actions, GUIs don’t.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Eric Pozharski on Tue Feb 13 20:39:15 2024
    On Tue, 13 Feb 2024 10:04:18 +0000, Eric Pozharski wrote:

    So it seems The Industry(TM) is about to snap on caseless filesystems
    any moment now. Because windows-does-it is reason good enough.

    Linux has had this for years <https://lwn.net/Articles/784041/>.

    All that’s happened is you just noticed because I mentioned it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Pancho on Tue Feb 13 20:40:36 2024
    On Tue, 13 Feb 2024 13:52:11 +0000, Pancho wrote:

    NTFS is case-sensitive. Windows OS is case-preserving.

    There is no real distinction between “NTFS” and “Windows OS”. Windows has
    no equivalent of the Linux generic VFS layer: most of the Windows
    filesystem features are intimately tied specifically into NTFS.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to Lawrence D'Oliveiro on Tue Feb 13 22:05:49 2024
    On 13/02/2024 20:40, Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 13:52:11 +0000, Pancho wrote:

    NTFS is case-sensitive. Windows OS is case-preserving.

    There is no real distinction between “NTFS” and “Windows OS”. Windows has
    no equivalent of the Linux generic VFS layer: most of the Windows
    filesystem features are intimately tied specifically into NTFS.

    You can use NTFS on Linux, and make full use of case sensitivity.

    Or perhaps more commonly you can share ext4 file systems with Windows,
    and just as with NTFS you cannot distinguish files by case.

    So I would say Windows OS and NTFS file systems are two very distinct
    concepts.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Lawrence D'Oliveiro on Wed Feb 14 09:47:50 2024
    On 13/02/2024 20:42, Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 09:06:11 +0000, The Natural Philosopher wrote:

    And I don't class OS/X as Unix ...

    They are legally allowed to use the trademark. They are just about the
    only platform left standing that does.

    Legals status and technical content are rather different concepts.

    --
    New Socialism consists essentially in being seen to have your heart in
    the right place whilst your head is in the clouds and your hand is in
    someone else's pocket.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geoff Clare@21:1/5 to The Natural Philosopher on Wed Feb 14 13:31:07 2024
    The Natural Philosopher wrote:

    On 13/02/2024 20:42, Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 09:06:11 +0000, The Natural Philosopher wrote:

    And I don't class OS/X as Unix ...

    They are legally allowed to use the trademark.

    Legals status and technical content are rather different concepts.

    In general that is true, but in the specific case of UNIX® the
    trademark owner (The Open Group) explicitly ties them together.
    They will only licence the trademark to an OS vendor if the OS
    passes many tens of thousands of tests. And to cover any
    non-conformances not identified by the test suites, the licensee
    has to sign a TMLA (trademark licence agreement) in which they commit
    to fixing any non-conformances that are brought to their attention
    with a given time period. For details see

    https://www.opengroup.org/openbrand/docs/UNIXV7_Certification_Guide.html

    --
    Geoff Clare <netnews@gclare.org.uk>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Geoff Clare on Wed Feb 14 14:04:27 2024
    On 14/02/2024 13:31, Geoff Clare wrote:
    The Natural Philosopher wrote:

    On 13/02/2024 20:42, Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 09:06:11 +0000, The Natural Philosopher wrote:

    And I don't class OS/X as Unix ...

    They are legally allowed to use the trademark.

    Legals status and technical content are rather different concepts.

    In general that is true, but in the specific case of UNIX® the
    trademark owner (The Open Group) explicitly ties them together.
    They will only licence the trademark to an OS vendor if the OS
    passes many tens of thousands of tests. And to cover any
    non-conformances not identified by the test suites, the licensee
    has to sign a TMLA (trademark licence agreement) in which they commit
    to fixing any non-conformances that are brought to their attention
    with a given time period. For details see

    https://www.opengroup.org/openbrand/docs/UNIXV7_Certification_Guide.html

    Do you mind if I don't bother? Having been peripherally involved in the
    Unix Wars I really have had more than enough...I was delighted when
    Linus came up with Linux (once it was more than a hobbyists toy)
    precisely because all the good things in Unix came with it and all the
    legal shit was left behind by dint of a 'clean room' rewrite.

    In short though it looked like a Unix duck, quacked like a Unix duck,
    and paddled like a Unix duck, DNA evidence proved it was, in fact, a
    moorhen...

    --
    If I had all the money I've spent on drink...
    ..I'd spend it on drink.

    Sir Henry (at Rawlinson's End)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geoff Clare@21:1/5 to Lawrence D'Oliveiro on Wed Feb 14 13:22:13 2024
    Lawrence D'Oliveiro wrote:

    On Tue, 13 Feb 2024 13:25:10 +0000, Geoff Clare wrote:

    Richard Kettlewell wrote:

    macOS (almost certainly the most widely used desktop Unix) has been
    case insensitive all along.

    It's configurable (per file system I believe).

    In order to pass the UNIX conformance tests, Apple must be running the
    tests on a case sensitive file system.

    Is this end-user-settable, at all?

    Depends what you mean by "end user". The way I remember doing it
    years ago was with a terminal command, using sudo to obtain privilege.
    So in a typical personal-computer situation, it is do-able by the
    computer's owner/user. I don't know if there is a GUI way.

    --
    Geoff Clare <netnews@gclare.org.uk>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Geoff Clare on Wed Feb 14 13:59:43 2024
    On 14/02/2024 13:22, Geoff Clare wrote:
    Lawrence D'Oliveiro wrote:

    On Tue, 13 Feb 2024 13:25:10 +0000, Geoff Clare wrote:

    Richard Kettlewell wrote:

    macOS (almost certainly the most widely used desktop Unix) has been
    case insensitive all along.

    It's configurable (per file system I believe).

    In order to pass the UNIX conformance tests, Apple must be running the
    tests on a case sensitive file system.

    Is this end-user-settable, at all?

    Depends what you mean by "end user". The way I remember doing it
    years ago was with a terminal command, using sudo to obtain privilege.
    So in a typical personal-computer situation, it is do-able by the
    computer's owner/user. I don't know if there is a GUI way.

    I don't believe MAC OS/X is UNIX conformant.

    I no longer have an example, but AFAICR the case insensitivity is at the deepest filesystem OS level.

    Case is IIRC preserved, but ignored. But you can create an HFS
    filesystem where it isn't ignored. At what level this behaviour is
    modulated I do not know, as it is entirely possible that e.g. open()'s behaviour is subverted in one API, but not in another library.

    I can imagine the pseudo code...

    Scan directory
    IF filesysem NOT case sensitive
    toupper scan results.
    ...

    and likewise for writing, throw an exception if a case insensitive file
    match is found before trying to create a new file.

    The semantic question is whether this is in fact a feature in say libc
    that voids the claim to be the One True Unix.

    But I am not sure I give a rats arse anyway.


    --
    “There are two ways to be fooled. One is to believe what isn’t true; the other is to refuse to believe what is true.”

    —Soren Kierkegaard

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Carlos E.R. on Wed Feb 14 10:13:36 2024
    On 2/13/24 06:58, Carlos E.R. wrote:
    On 2024-02-13 07:56, Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 03:20:17 -0000 (UTC), Jack Strangio wrote:

    Also, XTerm is in and of itself a GUI application emulating a terminal. >>>
    Yeah.  Isn't it great?  Instead of being restricted to 7 or 8 pure
    text-only virtual terminals, I can take advantage of half a dozen or so
    virtual desktops and XTerm and have literally dozens of text terminals
    open at the same time.  (I tend to do that.)

    And copy-and-paste, that great innovation of the GUI paradigm, works
    really well between text (editor and terminal) windows. Very useful for
    automating command sequences.

    Paradoxically, GUIs do not let you copy-and-paste sequences of actions
    (keystrokes and mouse clicks), or even settings of GUI widgets, between
    windows. So they force you to repeat all the settings/actions again.

    Right! Interesting idea.

    If only there was a Linux equivalent to AutoHotKey.
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Geoff Clare on Wed Feb 14 16:28:59 2024
    Geoff Clare <geoff@clare.See-My-Signature.invalid> writes:
    Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 13:25:10 +0000, Geoff Clare wrote:
    In order to pass the UNIX conformance tests, Apple must be running the
    tests on a case sensitive file system.

    Is this end-user-settable, at all?

    Depends what you mean by "end user". The way I remember doing it
    years ago was with a terminal command, using sudo to obtain privilege.
    So in a typical personal-computer situation, it is do-able by the
    computer's owner/user. I don't know if there is a GUI way.

    (Based on screenshots online) there is an option you can choose in Disk
    Utility when creating a filesystem. i.e. yes, user settable in the GUI.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to no@thanks.net on Wed Feb 14 17:58:00 2024
    candycanearter07 <no@thanks.net> wrote:
    On 2/13/24 06:58, Carlos E.R. wrote:
    On 2024-02-13 07:56, Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 03:20:17 -0000 (UTC), Jack Strangio wrote:

    Also, XTerm is in and of itself a GUI application emulating a terminal. >>>>
    Yeah.  Isn't it great?  Instead of being restricted to 7 or 8 pure
    text-only virtual terminals, I can take advantage of half a dozen or so >>>> virtual desktops and XTerm and have literally dozens of text terminals >>>> open at the same time.  (I tend to do that.)

    And copy-and-paste, that great innovation of the GUI paradigm, works
    really well between text (editor and terminal) windows. Very useful for
    automating command sequences.

    Paradoxically, GUIs do not let you copy-and-paste sequences of actions
    (keystrokes and mouse clicks), or even settings of GUI widgets, between
    windows. So they force you to repeat all the settings/actions again.

    Right! Interesting idea.

    If only there was a Linux equivalent to AutoHotKey.

    There is:

    xdotool

    https://github.com/jordansissel/xdotool

    Although note this warning:

    Note: If you are using Wayland, please be aware this software will
    not work correctly. See the 'Wayland' section below for more detail.

    And, since it has a more sensible scripting language provided by the environment, one does not have to write 'scripts' in autohotkey's
    scripting language (which should be the poster boy for how *not* to
    design a scripting language).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Richard Kettlewell on Wed Feb 14 18:31:53 2024
    On 14/02/2024 16:28, Richard Kettlewell wrote:
    Geoff Clare <geoff@clare.See-My-Signature.invalid> writes:
    Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 13:25:10 +0000, Geoff Clare wrote:
    In order to pass the UNIX conformance tests, Apple must be running the >>>> tests on a case sensitive file system.

    Is this end-user-settable, at all?

    Depends what you mean by "end user". The way I remember doing it
    years ago was with a terminal command, using sudo to obtain privilege.
    So in a typical personal-computer situation, it is do-able by the
    computer's owner/user. I don't know if there is a GUI way.

    (Based on screenshots online) there is an option you can choose in Disk Utility when creating a filesystem. i.e. yes, user settable in the GUI.

    That is how I came across it, yes.
    At what level it acts, is conjecture as far as I am concerned.

    --
    "It is an established fact to 97% confidence limits that left wing
    conspirators see right wing conspiracies everywhere"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Wed Feb 14 20:23:29 2024
    On Wed, 14 Feb 2024 14:04:27 +0000, The Natural Philosopher wrote:

    Do you mind if I don't bother?

    This is why some of us use the term “*nix”.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Wed Feb 14 20:24:44 2024
    On Wed, 14 Feb 2024 13:59:43 +0000, The Natural Philosopher wrote:

    I don't believe MAC OS/X is UNIX conformant.

    It is conformant enough to have been granted permission to call itself “Unix”. Legally, that’s all that counts.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Wed Feb 14 20:26:25 2024
    On Wed, 14 Feb 2024 10:13:36 -0600, candycanearter07 wrote:

    If only there was a Linux equivalent to AutoHotKey.

    None of that stuff ever works reliably.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Lawrence D'Oliveiro on Thu Feb 15 06:03:34 2024
    On 2024-02-14, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    On Wed, 14 Feb 2024 14:04:27 +0000, The Natural Philosopher wrote:

    Do you mind if I don't bother?

    This is why some of us use the term “*nix”.

    Or *n*x, to make sure we get the "u" in "Linux".

    --
    /~\ Charlie Gibbs | The Internet is like a big city:
    \ / <cgibbs@kltpzyxm.invalid> | it has plenty of bright lights and
    X I'm really at ac.dekanfrus | excitement, but also dark alleys
    / \ if you read it the right way. | down which the unwary get mugged.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Charlie Gibbs on Thu Feb 15 06:59:25 2024
    On Thu, 15 Feb 2024 06:03:34 GMT, Charlie Gibbs wrote:

    On 2024-02-14, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    This is why some of us use the term “*nix”.

    Or *n*x, to make sure we get the "u" in "Linux".

    That’s a separate question: does “*nix” really matter any more? Is in fact
    Linux the new standard? Not only is Microsoft desperately trying to make Windows more Linux-compatible, but even the BSDs are going down that path,
    too. Did you know they are working on their own systemd-lookalike? It’s called “InitWare”.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Lawrence D'Oliveiro on Thu Feb 15 08:33:47 2024
    On 15/02/2024 06:59, Lawrence D'Oliveiro wrote:
    On Thu, 15 Feb 2024 06:03:34 GMT, Charlie Gibbs wrote:

    On 2024-02-14, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    This is why some of us use the term “*nix”.

    Or *n*x, to make sure we get the "u" in "Linux".

    That’s a separate question: does “*nix” really matter any more? Is in fact
    Linux the new standard? Not only is Microsoft desperately trying to make Windows more Linux-compatible, but even the BSDs are going down that path, too. Did you know they are working on their own systemd-lookalike? It’s called “InitWare”.

    In a sense, no one really cares.

    MSDOS was mighty because it was a de facto standard anyone could code
    to. Now, apart from desktops, Linux is the de facto standard.

    Great. And no one is making a fortune out of it.


    --
    Gun Control: The law that ensures that only criminals have guns.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geoff Clare@21:1/5 to The Natural Philosopher on Thu Feb 15 13:27:43 2024
    The Natural Philosopher wrote:

    On Tue, 13 Feb 2024 13:25:10 +0000, Geoff Clare wrote:
    In order to pass the UNIX conformance tests, Apple must be running the >>>>> tests on a case sensitive file system.

    At what level it acts, is conjecture as far as I am concerned.

    Who cares how it is implemented internally, as long as it obeys the
    POSIX requirement for case sensitivity?

    I still have access to the years-old macOS system I mentioned, and
    the file system I configured to be case sensitive works just as you
    would expect:

    $ ls
    $ echo a > a
    $ echo A > A
    $ ls -log
    total 16
    -rw-rw-r-- 1 2 Feb 15 13:17 A
    -rw-rw-r-- 1 2 Feb 15 13:17 a
    $ cat A
    A
    $ cat a
    a
    $ uname -v
    Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64
    $ df -h .
    Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk0s4 230Gi 765Mi 229Gi 1% 195891 60065040 0% /Volumes/Macintosh_HD_2
    $ mount | grep disk0s4
    /dev/disk0s4 on /Volumes/Macintosh_HD_2 (hfs, local, journaled)

    If it didn't behave that way, Apple wouldn't have been able to pass
    the conformance tests and wouldn't have qualified for a UNIX licence
    from The Open Group.

    --
    Geoff Clare <netnews@gclare.org.uk>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Lawrence D'Oliveiro on Thu Feb 15 15:24:13 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    The Natural Philosopher wrote:
    I don't believe MAC OS/X is UNIX conformant.

    It is conformant enough to have been granted permission to call itself “Unix”. Legally, that’s all that counts.

    There’s more to life than ‘legally’, even when it comes to conformance questions.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eric Pozharski@21:1/5 to Lawrence D'Oliveiro on Thu Feb 15 18:27:43 2024
    with <uqgk1j$288d0$3@dont-email.me> Lawrence D'Oliveiro wrote:
    On Tue, 13 Feb 2024 10:04:18 +0000, Eric Pozharski wrote:

    So it seems The Industry(TM) is about to snap on caseless filesystems
    any moment now. Because windows-does-it is reason good enough.
    Linux has had this for years <https://lwn.net/Articles/784041/>.
    All that’s happened is you just noticed because I mentioned it.

    If you claim priority pointing out intents of The Industry(TM), then be
    it. I didn't know it's widespread knowledge.

    --
    Torvalds' goal for Linux is very simple: World Domination
    Stallman's goal for GNU is even simpler: Freedom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Richard Kettlewell on Thu Feb 15 20:06:43 2024
    On Thu, 15 Feb 2024 15:24:13 +0000, Richard Kettlewell wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    The Natural Philosopher wrote:

    I don't believe MAC OS/X is UNIX conformant.

    It is conformant enough to have been granted permission to call itself
    “Unix”. Legally, that’s all that counts.

    There’s more to life than ‘legally’, even when it comes to conformance questions.

    Without “legally”, you have no trademark.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Lawrence D'Oliveiro on Thu Feb 15 14:02:10 2024
    On 2/14/24 14:26, Lawrence D'Oliveiro wrote:
    On Wed, 14 Feb 2024 10:13:36 -0600, candycanearter07 wrote:

    If only there was a Linux equivalent to AutoHotKey.

    None of that stuff ever works reliably.

    It works pretty well for simple operations, at least.
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Geoff Clare on Thu Feb 15 20:15:19 2024
    On Thu, 15 Feb 2024 13:27:43 +0000, Geoff Clare wrote:

    Who cares how it is implemented internally, as long as it obeys the
    POSIX requirement for case sensitivity?

    Is there actually a POSIX requirement for case sensitivity?

    Looking at this
    <http://www.open-std.org/jtc1/sc22/open/n4160-1.pdf>, we have

    4.6 Filenames
    Uppercase and lowercase letters shall retain their unique
    identities between conforming implementations.

    Does that mean that filenames have to be case-sensitive?

    Also section 4.12, “Pathname Resolution”, goes into details of how to handle symbolic links and “.” and “..”, but says nothing about case sensitivity.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Lawrence D'Oliveiro on Thu Feb 15 20:48:31 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    Richard Kettlewell wrote:
    Lawrence D'Oliveiro <ldo@nz.invalid> writes
    The Natural Philosopher wrote:
    I don't believe MAC OS/X is UNIX conformant.

    It is conformant enough to have been granted permission to call itself
    “Unix”. Legally, that’s all that counts.

    There’s more to life than ‘legally’, even when it comes to conformance >> questions.

    Without “legally”, you have no trademark.

    There’s more to life than trademarks too.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Thu Feb 15 20:16:30 2024
    On Thu, 15 Feb 2024 14:02:10 -0600, candycanearter07 wrote:

    On 2/14/24 14:26, Lawrence D'Oliveiro wrote:

    On Wed, 14 Feb 2024 10:13:36 -0600, candycanearter07 wrote:

    If only there was a Linux equivalent to AutoHotKey.

    None of that stuff ever works reliably.

    It works pretty well for simple operations, at least.

    Things you can do manually, anyway?

    It’s the complex cases where automation is needed most.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Richard Kettlewell on Thu Feb 15 21:29:42 2024
    On Thu, 15 Feb 2024 20:48:31 +0000, Richard Kettlewell wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    Richard Kettlewell wrote:
    Lawrence D'Oliveiro <ldo@nz.invalid> writes
    The Natural Philosopher wrote:
    I don't believe MAC OS/X is UNIX conformant.

    It is conformant enough to have been granted permission to call itself >>>> “Unix”. Legally, that’s all that counts.

    There’s more to life than ‘legally’, even when it comes to conformance
    questions.

    Without “legally”, you have no trademark.

    There’s more to life than trademarks too.

    Then don’t use them.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Lawrence D'Oliveiro on Thu Feb 15 18:45:11 2024
    On 2/15/24 14:15, Lawrence D'Oliveiro wrote:
    4.6 Filenames
    Uppercase and lowercase letters shall retain their unique
    identities between conforming implementations.

    Does that mean that filenames have to be case-sensitive?

    Yes.

    Upper case and lower case letters have different unique identities.

    Also section 4.12, “Pathname Resolution”, goes into details of how
    to handle symbolic links and “.” and “..”, but says nothing
    about case sensitivity.

    4.12 doesn't need to speak to case because section 4.6 already did.



    --
    Grant. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Fritz Wuehler@21:1/5 to All on Fri Feb 16 05:54:56 2024
    Lawrence D'Oliveiro <...@nz.invalid> [LD]:
    Paradoxically, GUIs do not let you copy-and-paste sequences of
    actions (keystrokes and mouse clicks), or even settings of GUI
    widgets, between windows. So they force you to repeat all the settings/actions again.

    'xdotool' can replay/automate keystrokes/mouse clicks (but
    unfortunately cannot record them).

    I use it regularly to eliminate some (error prone) manual copy/paste
    actions. For instance it will happily copy the details of a bank
    transaction going on in one window (a secure instance of a web
    browser) to an accounting program running in another window (another
    secure instance of a different web browser). A script using xdotool
    will also auto fill the payment/money transfer online form of a bank
    (why, oh why, do they all have incompatible user interfaces and APIs?)
    using the merchant's payment info found in another window, even generating
    the needed OTP code itself (using oathtool). It certainly makes those
    recurring end of the month invoice/bill payments a bit less of a pain
    in the arse.


    If you limit yourself to one window/one application, iMacros can both
    record and programmatically replay your actions in the browser. I also
    use it regularly for automating the filing of certain tax forms.
    The same of course applies to selenium and its little cousins.

    In the browser environment one can also automate actions by using
    bookmarklets. Watch what a web application is doing in the browser's development tab and then write a (javascript) program to mimic it,
    (fetch() is your friend here), finally convert it to a bookmarklet
    and run it whenever needed (possibly asking the user to enter some
    variable or confidential data). One can even go wild and have a father bookmarklet present the user with a menu selection and then download
    the appropriate child bookmarklet from, say, a git repository and
    execute it, using eval(), ie. dynamic bookmarklets. Most bookmarklet
    users write and then rewrite (in-situ) their bookmarlets in the
    bookmarks tab of their browser, which is both a pain and offers no way
    of code versioning. Editing them in your favourite IDE/CVS and then
    downloading them off a server whenever needed solves both these problems.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Fritz Wuehler on Fri Feb 16 05:48:00 2024
    On Fri, 16 Feb 2024 05:54:56 +0100, Fritz Wuehler wrote:

    For instance it will happily copy the details of a bank
    transaction going on in one window (a secure instance of a web browser)
    to an accounting program running in another window (another secure
    instance of a different web browser). A script using xdotool will also
    auto fill the payment/money transfer online form of a bank (why, oh why,
    do they all have incompatible user interfaces and APIs?) using the
    merchant's payment info found in another window, even generating the
    needed OTP code itself (using oathtool).

    Doesn’t the bank offer data export/import in standard formats, like CSV or QIF?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Lawrence D'Oliveiro on Fri Feb 16 09:01:25 2024
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    Richard Kettlewell wrote:
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    Richard Kettlewell wrote:
    Lawrence D'Oliveiro <ldo@nz.invalid> writes
    The Natural Philosopher wrote:
    I don't believe MAC OS/X is UNIX conformant.

    It is conformant enough to have been granted permission to call
    itself “Unix”. Legally, that’s all that counts.

    There’s more to life than ‘legally’, even when it comes to
    conformance questions.

    Without “legally”, you have no trademark.

    There’s more to life than trademarks too.

    Then don’t use them.

    ??? I’ll use whatever words I like. If a trademark owner doesn’t like it they are welcome to get in touch. Hasn’t happened yet.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Fritz Wuehler on Fri Feb 16 14:30:43 2024
    On 2024-02-16 05:54, Fritz Wuehler wrote:
    Lawrence D'Oliveiro <...@nz.invalid> [LD]:
    Paradoxically, GUIs do not let you copy-and-paste sequences of
    actions (keystrokes and mouse clicks), or even settings of GUI
    widgets, between windows. So they force you to repeat all the settings/actions again.

    'xdotool' can replay/automate keystrokes/mouse clicks (but
    unfortunately cannot record them).

    I use it regularly to eliminate some (error prone) manual copy/paste
    actions. For instance it will happily copy the details of a bank
    transaction going on in one window (a secure instance of a web
    browser) to an accounting program running in another window (another
    secure instance of a different web browser). A script using xdotool
    will also auto fill the payment/money transfer online form of a bank
    (why, oh why, do they all have incompatible user interfaces and APIs?)
    using the merchant's payment info found in another window, even generating the needed OTP code itself (using oathtool). It certainly makes those recurring end of the month invoice/bill payments a bit less of a pain
    in the arse.

    Oh. That's a very curious usage.



    If you limit yourself to one window/one application, iMacros can both
    record and programmatically replay your actions in the browser. I also
    use it regularly for automating the filing of certain tax forms.
    The same of course applies to selenium and its little cousins.

    In the browser environment one can also automate actions by using bookmarklets. Watch what a web application is doing in the browser's development tab and then write a (javascript) program to mimic it,
    (fetch() is your friend here), finally convert it to a bookmarklet
    and run it whenever needed (possibly asking the user to enter some
    variable or confidential data). One can even go wild and have a father bookmarklet present the user with a menu selection and then download
    the appropriate child bookmarklet from, say, a git repository and
    execute it, using eval(), ie. dynamic bookmarklets. Most bookmarklet
    users write and then rewrite (in-situ) their bookmarlets in the
    bookmarks tab of their browser, which is both a pain and offers no way
    of code versioning. Editing them in your favourite IDE/CVS and then downloading them off a server whenever needed solves both these problems.


    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geoff Clare@21:1/5 to Richard Kettlewell on Fri Feb 16 13:46:09 2024
    Richard Kettlewell wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:
    Richard Kettlewell wrote:
    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    There’s more to life than ‘legally’, even when it comes to
    conformance questions.

    Without “legally”, you have no trademark.

    There’s more to life than trademarks too.

    Then don’t use them.

    ??? I’ll use whatever words I like. If a trademark owner doesn’t like it they are welcome to get in touch. Hasn’t happened yet.

    It's only commercial uses that the UNIX trademark owner would go after.
    Like they did with Apple in 2001 (and that is the reason OS X eventually
    became certified).

    For those who haven't already seen Terry Lambert's account of the
    work he did in OS X to make it conform (to the old "UNIX 03"
    standard), it's an interesting read.

    www.quora.com/What-goes-into-making-an-OS-to-be-Unix-compliant-certified

    --
    Geoff Clare <netnews@gclare.org.uk>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Lawrence D'Oliveiro on Fri Feb 16 09:57:02 2024
    On 2/15/24 14:16, Lawrence D'Oliveiro wrote:
    On Thu, 15 Feb 2024 14:02:10 -0600, candycanearter07 wrote:

    On 2/14/24 14:26, Lawrence D'Oliveiro wrote:

    On Wed, 14 Feb 2024 10:13:36 -0600, candycanearter07 wrote:

    If only there was a Linux equivalent to AutoHotKey.

    None of that stuff ever works reliably.

    It works pretty well for simple operations, at least.

    Things you can do manually, anyway?

    It’s the complex cases where automation is needed most.

    Fair enough.
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Richard Kettlewell on Fri Feb 16 21:40:29 2024
    On Fri, 16 Feb 2024 09:01:25 +0000, Richard Kettlewell wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    Richard Kettlewell wrote:

    There’s more to life than trademarks too.

    Then don’t use them.

    ??? I’ll use whatever words I like.

    Then you won’t object if other people use different words.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Carlos E.R. on Fri Feb 16 21:41:13 2024
    On Fri, 16 Feb 2024 14:30:43 +0100, Carlos E.R. wrote:

    Oh. That's a very curious usage.

    Very typical of attempts at GUI automation, though.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Lawrence D'Oliveiro on Sat Feb 17 10:04:34 2024
    On 16/02/2024 21:40, Lawrence D'Oliveiro wrote:
    On Fri, 16 Feb 2024 09:01:25 +0000, Richard Kettlewell wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    Richard Kettlewell wrote:

    There’s more to life than trademarks too.

    Then don’t use them.

    ??? I’ll use whatever words I like.

    Then you won’t object if other people use different words.

    I think cataclysm is a nice word.

    You could use that.

    The modern confusion between a word as a *pointer*, and also to mean the *pointed to object*, is the source of more deceit in the world today than...well other shit.

    It is e.g. at the heart of the storm in the transgender teacup. What
    word you use to describe someone does not change the reality of who they
    are.


    --
    “Those who can make you believe absurdities, can make you commit atrocities.”

    ― Voltaire, Questions sur les Miracles à M. Claparede, Professeur de Théologie à Genève, par un Proposant: Ou Extrait de Diverses Lettres de
    M. de Voltaire

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Fritz Wuehler on Sat Feb 17 10:40:27 2024
    On 17/02/2024 10:05, Fritz Wuehler wrote:
    Until my banks get a new web designer (who changes the UI once again
    for no apparent reason)

    Please don't talk about banking software.

    Enter your details
    .
    .
    .
    .
    .
    .
    .
    .
    If your credit card has expired click here [ ]
    .
    .
    Enter security credentials
    [ ]
    [ ]

    Have you thought about using your mobile phone ??
    Download our banking app here. [ ]
    .
    .
    [ ] enter the security code we just texted you.
    .
    .
    .
    .
    ,

    [ ] CLICK here to proceed
    (in the white bordered white box, offscreen if you have applied enough
    zoom to make the text legible).

    Today's PFY's think that 'ergonomics' is a branch of philosophy
    concerned with consequences arising...



    --
    "Socialist governments traditionally do make a financial mess. They
    always run out of other people's money. It's quite a characteristic of them"

    Margaret Thatcher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Fritz Wuehler@21:1/5 to All on Sat Feb 17 11:05:47 2024
    Lawrence D'Oliveiro <...@nz.invalid> [LD]:
    On Fri, 16 Feb 2024 05:54:56 +0100, Fritz Wuehler wrote:

    Doesnt the bank offer data export/import in standard formats,
    like CSV or QIF?

    Some of the banks I use do, but not in the exact format required by
    the acco$nting web application. I would have to reformat the data
    (and remember to export/import regularly). Writing a xdotool-based
    shell script seemed easier/faster.

    Then there is one bank that can only export transaction data in .xslx
    format, which is useless for this specific task. Of course I could grab
    the JSON data response as it comes in from their server, but I
    I would still have to apply some field mapping/reformatting.

    Until my banks get a new web designer (who changes the UI once
    again for no apparent reason) or get merged/acquired with/by another
    bank, xdotool will do.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to Fritz Wuehler on Sat Feb 17 16:45:51 2024
    Fritz Wuehler <fritz@spamexpire-202402.rodent.frell.theremailer.net> wrote:
    Until my banks get a new web designer (who changes the UI once again
    for no apparent reason) or get merged/acquired with/by another bank,
    xdotool will do.

    This occurs for two reasons:

    1) The web designer has to make changes in order to show supposed
    /value/ to their employer, therefore they make changes for no reason
    other than to ensure their continued employment.

    2) They change the UI around because in their world, no one is
    automating anything, everyone is manually clicking, reading and
    retyping, etc.

    #1 is the largest reason for the changes that occur periodically. #2
    is a consequence of the fact that their short-sightedness does not
    extend to "people out there might have automated this".

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Rich on Sat Feb 17 18:16:39 2024
    On 2024-02-17, Rich <rich@example.invalid> wrote:

    Fritz Wuehler <fritz@spamexpire-202402.rodent.frell.theremailer.net> wrote:

    Until my banks get a new web designer (who changes the UI once again
    for no apparent reason) or get merged/acquired with/by another bank,
    xdotool will do.

    This occurs for two reasons:

    1) The web designer has to make changes in order to show supposed
    /value/ to their employer, therefore they make changes for no reason
    other than to ensure their continued employment.

    2) They change the UI around because in their world, no one is
    automating anything, everyone is manually clicking, reading and
    retyping, etc.

    #1 is the largest reason for the changes that occur periodically. #2
    is a consequence of the fact that their short-sightedness does not
    extend to "people out there might have automated this".

    2a) They change the UI around in order to break users' automated
    solutions, pushing said users toward their own proprietary solutions.

    IMHO computer systems should be ugly and boring. Ugly, as in not
    being full of pretty fluff that gets in the way of doing things,
    and boring as in just doing what they're told without any
    unpleasant surprises.

    A man does not insist on physical beauty in a woman who
    builds up his morale. After a while he realizes that
    she _is_ beautiful - he just hadn't noticed it at first.
    -- Robert A. Heinlein: The Notebooks of Lazarus Long

    But to return to the original topic, I can live with filesystems
    which are either case-sensitive or case-preserving, and can see
    advantages to either. I would never create file names which can
    only be distinguished by case - it's just asking for trouble.

    --
    /~\ Charlie Gibbs | The Internet is like a big city:
    \ / <cgibbs@kltpzyxm.invalid> | it has plenty of bright lights and
    X I'm really at ac.dekanfrus | excitement, but also dark alleys
    / \ if you read it the right way. | down which the unwary get mugged.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Sat Feb 17 21:56:42 2024
    On Sat, 17 Feb 2024 10:04:34 +0000, The Natural Philosopher wrote:

    On 16/02/2024 21:40, Lawrence D'Oliveiro wrote:
    On Fri, 16 Feb 2024 09:01:25 +0000, Richard Kettlewell wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    Richard Kettlewell wrote:

    There’s more to life than trademarks too.

    Then don’t use them.

    ??? I’ll use whatever words I like.

    Then you won’t object if other people use different words.

    I think cataclysm is a nice word.

    You could use that.

    It would be a cataclysm if I did. Unless it was an upheaval.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Lawrence D'Oliveiro on Sun Feb 18 07:31:19 2024
    On 17/02/2024 21:56, Lawrence D'Oliveiro wrote:
    On Sat, 17 Feb 2024 10:04:34 +0000, The Natural Philosopher wrote:

    On 16/02/2024 21:40, Lawrence D'Oliveiro wrote:
    On Fri, 16 Feb 2024 09:01:25 +0000, Richard Kettlewell wrote:

    Lawrence D'Oliveiro <ldo@nz.invalid> writes:

    Richard Kettlewell wrote:

    There’s more to life than trademarks too.

    Then don’t use them.

    ??? I’ll use whatever words I like.

    Then you won’t object if other people use different words.

    I think cataclysm is a nice word.

    You could use that.

    It would be a cataclysm if I did. Unless it was an upheaval.

    During the Gordon Brown years, he visits a Scottish school, to
    participate in a class, where the lads and lasses are being taught basic literacy.

    After a while when the teacher has been talking about the meaning of
    words, Gordon chips in, and asks:

    "If I were to be run over by a car, would it be an accident, a bad
    thing, or a complete disaster?"

    There is a complete silence. Eventually a boy tentatively raises his
    hand. "Yes?"

    "It would have to be a disaster, sorr"

    "Correct!" beams Gordon, "Now tell me why that is?"

    "Well, sorr, it seems to me that it would be no bad thing, and I canna
    say that anyone would think it was a forkin' accident".



    --
    “I know that most men, including those at ease with problems of the greatest complexity, can seldom accept even the simplest and most
    obvious truth if it be such as would oblige them to admit the falsity of conclusions which they have delighted in explaining to colleagues, which
    they have proudly taught to others, and which they have woven, thread by thread, into the fabric of their lives.”

    ― Leo Tolstoy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)