[Bug 1990755] Re: HYPHEN character escaped in filenames with BACKSLASH
Bernhard Riegler
1990755 at bugs.launchpad.net
Thu Jul 6 06:51:34 UTC 2023
Hi Nick,
I disagree with this filesystem name space pollution.
UNIX has a SPACE as parameter separator.
UNIX has a SLASH as filesystem directory separator
DOS has a BACKSLASH as filesystem directory separator
nowadays are directory_names and file_names with SPACES, causing problems
with CLI shell-scripts and BACKUP programs.
adding escaping into filesystem name space is causing more problems.
I have already shell scripts replacing SPACE with UNDERSCORE
and reporting BACKSPACE in filesystem namespace to keep my filesystems pure and clean.
I also monitor UNICODE symbols in filesystem name space.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1990755
Title:
HYPHEN character escaped in filenames with BACKSLASH
Status in systemd package in Ubuntu:
Invalid
Bug description:
current Ubuntu 22.04 LTS shows
oot at prod:~# find / -xdev -name '*\\x*'
/usr/lib/systemd/system/system-systemd\x2dcryptsetup.slice
/etc/systemd/system/snap-gtk\x2dcommon\x2dthemes-1535.mount
/etc/systemd/system/snap-gnome\x2d3\x2d38\x2d2004-115.mount
/etc/systemd/system/multi-user.target.wants/snap-gtk\x2dcommon\x2dthemes-1535.mount
/etc/systemd/system/multi-user.target.wants/snap-gnome\x2d3\x2d38\x2d2004-115.mount
/etc/systemd/system/multi-user.target.wants/snap-snapd\x2ddesktop\x2dintegration-14.mount
/etc/systemd/system/multi-user.target.wants/snap-snap\x2dstore-592.mount
/etc/systemd/system/multi-user.target.wants/var-snap-firefox-common-host\x2dhunspell.mount
/etc/systemd/system/multi-user.target.wants/snap-snap\x2dstore-599.mount
/etc/systemd/system/snap-snapd\x2ddesktop\x2dintegration-14.mount
/etc/systemd/system/snap-snap\x2dstore-592.mount
/etc/systemd/system/var-snap-firefox-common-host\x2dhunspell.mount
/etc/systemd/system/snap-snap\x2dstore-599.mount
/etc/systemd/system/default.target.wants/snap-gnome\x2d3\x2d38\x2d2004-115.mount
/etc/systemd/system/default.target.wants/snap-snap\x2dstore-592.mount
/etc/systemd/system/default.target.wants/var-snap-firefox-common-host\x2dhunspell.mount
/etc/systemd/system/default.target.wants/snap-snap\x2dstore-599.mount
HYPHEN is normal ASCII character or escaped by "\x2d"
HYPHEN needs no escape , but the BACKSLASH is making troubles.
no BACKSLASH allowed in filenames and directory names.
seems to be a bad habit of "systemd" and "snap"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990755/+subscriptions
More information about the foundations-bugs
mailing list