Blog: 2023-08-23

From razwiki
Jump to navigation Jump to search

Legendary comment https://github.com/hashicorp/vagrant/issues/1673#issuecomment-28287711

Coreutils ls is having a problem with this filename:

'06 The Bitter Suite (Pájaro - Evil Eye - Tennessee Train).flac'

it renders as:


'06 The Bitter Suite (P'$'\303\241jaro - Evil Eye - Tennessee Train).flac'

But exa and this coreutils written in rust: https://github.com/uutils/coreutils

don't have that issue.

So I built that coreutils with make, and put its ls in /usr/local/bin:

sudo cp ~/forks/uutils-coreutils/target/debug/ls /usr/local/bin/

Now that ls is found:

$ which ls
/usr/local/bin/ls

Problem solved.


Now I'm setting up a local vagrant machine to configure nginx, and I realized the cookies weren't working, here's the reason:

https://stackoverflow.com/questions/27254013/why-does-the-session-cookie-work-when-serving-from-a-domain-but-not-when-using-a