invalid filename accepted
Bug #1175933 reported by
Vineet Deodhar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Platform:
Ubuntu 12.04 LTS (dual-booting with WinXP)
What I did:
Following python script is run (in F:\ ntfs partition).
outfile = open('G:
(This python script was meant to be run from WinXP actually.)
What was expected:
System message prompting that the file name is invalid.
What happened:
A file with name 'G:\\ohlc_file.csv' is created on ntfs partition F:\.
From other OS, this file can't be deleted / renamed.
To post a comment you must log in.
This is not a bug. EXT4 file systems can accept more characters than Windows' NTFS/FAT32. You just need to be careful to not put files with "invalid" filenames (from Windows' POV) in its partition.