News for hackers. Stuff that matters.
Re:What's New in POSIX 2024 by ykonstant on Tuesday October 29, 2024 @09:05AM (#41983454)
If your file system allows them, be careful with symlinks though!
Re:What's New in POSIX 2024 by jraph on Tuesday October 29, 2024 @12:06PM (#41985672)
Why, specifically?

I'm convinced we will need to be careful with symbolic links related to new line characters in filenames, but I'm curious of which specific aspect you had in mind.

Re:What's New in POSIX 2024 by ykonstant on Tuesday October 29, 2024 @03:47PM (#41988557)
Oh, nothing specific to newlines. Just, when you rename files to fix newlines, you need to check if they break symlinks pointing to them.

For instance, I had project folders for my individual research projects. In order to have a central repository of resources and not have copies of multi-megabyte pdfs in each folder, I put all referenced papers in a single directory and symlinked them for each project that needed them. Later, I wanted to rename the papers to remove newlines. The symlinks complicated this process quite a bit!

Re:What's New in POSIX 2024 by jraph on Wednesday October 30, 2024 @05:33AM (#41993228)
Ah, right, indeed :-)