Cannot create new files with “:” in their filenames, but I have already 13300 of them that work fine (linux, ntfs partition)

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I have a Windows 10 / Manjaro (4.19.32-1-MANJARO) dual boot. All my personal data is stored on an NTFS partition that I use in both systems.

I have a project which involves pictures with some colons (:) in their filenames. I can access those files correctly in Linux (I know I can't with Windows, and it's fine).

However, when I try to create new files with special chars like : (from Linux, of course), in this partition, I can't. It worked fine until recently (2-3 weeks ago). I noticed the issue today.

Example using touch:

[user@user-thinkpad Data]$ touch a\:b
touch: setting times of 'a:b': No such file or directory

Another example:

[user@user-thinkpad Data]$ echo "Hello Hello" > 'a:b'
bash: a:b: Invalid argument

Copying from an external NTFS drive (new files for the project) doesn't work either, using the Files explorer:

profilepic.png
manpreet 2 years ago

Any idea why?

Here is what the mount options look like:

/dev/sda3  on  /run/media/user/Data  type  fuseblk     (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
[user@user-thinkpad Data]$ sblk -f | grep sda3
├─sda3 ntfs     Data    36A83041A83001C3    52.6G    80% /run/media/user/Data

I'll be happy to share some more information about my system if needed.

Note: I always use the command shutdown /s /t 0 to completely shut Windows down before booting Manjaro.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.