I'm running a live Ubuntu from my USB stick that has two partitions (SYSTEM & DATA). In DATA I need to create a file that starts with a *. When I run touch *.o i get a No such file or directory error. If I try to create it with vi/m I get an error saying that it can't open the file for writing.However, I can create the file on my System partition. Both partitions are formatted with a GPT partition table and FAT32 file system. I successfully created a *.o file on another FAT32 system though, so I assume it is not related to the file system itself.I suppose it is some permission issue? I tried sudo mount -o rw,remount /media/ubuntu/DATA, because I thought maybe the mounting was wrong, but that didn't help either. I also tried to chown -R ubuntu:ubuntu, but no luck there as well.Do you guys have any idea what the problem could be? For those wondering why I need those files: my makefile is creating those *.o files to compile the project.
Can't create *.o file on partition
files;permissions;filesystems;make
It seems the answer is simply that FAT32 doesn't allow a literal * in filenames, according to https://en.wikipedia.org/wiki/Filename#Comparison_of_filename_limitations . So you're out of luck here, maybe reformatting to ext4 is an option?