Bug 155962 - Deprecate newlines in ext2/3 filenames
Deprecate newlines in ext2/3 filenames
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: e2fsprogs (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Woerner
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-26 03:41 EDT by Need Real Name
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-26 06:48:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2005-04-26 03:41:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Epiphany/1.6.1

Description of problem:
Many people don't know that ext2/3 allows newlines in filenames.
Deprecating this would alert people to this and allow eventual removal.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
x

Additional info:
Comment 1 Stephen Tweedie 2005-04-26 06:48:26 EDT
First of all, e2fsprogs has nothing to do with the live running ext3 filesystem:
mounted filesystems are all managed by the kernel, not by e2fsprogs.

But more importantly, the behaviour of filenames is thoroughly defined by Unix,
SingleUnix and POSIX standards.  There's no way ext3 is going to suddenly become
non-standards-compliant by implementing a feature like this.  The standards have
become fixed over time, and unfortunately, for better or worse, it's way too
late to start changing what counts as a legal filename or not.

I don't see it as much of a problem, though: most people won't ever encounter
this case.  Those who do either have a need for it, or they did it by accident.
 And there are certainly things we can do to make recovery from such accidents
painless, like making sure that Nautilus and KDE can browse, rename and delete
such files correctly.  But that's not a filesystem problem.

Note You need to log in before you can comment on or make changes to this bug.