Question

I pulled a django project repository (git) to a FAT32 drive and made some changes but when I went to commit, every file is out of date because of it's mode (i.e. - was 100644 is 100755) that's because of FAT32 right? I haven't ever really thought about this, do I just need to work off of a different filesystem or is this not a big deal in the long run?

Was it helpful?

Solution

I think you want to tell Git to ignore the file permissions. See this question: How do I make Git ignore file mode (chmod) changes?

OTHER TIPS

You should not use FAT32 unless you really have to. There are several reasons for this ranging from memory, CPU, speed, lack of security, lack of journaling and even that FAT32 is more difficult to recover when disaster strikes. You can convert FAT32 to NTFS using Convert.

Part from that FAT32 doesn't have "modes" for files except the usual flags Archive, ReadOnly and Hidden (and System?). Some OS can however put some metadata files into the directories to simulate "better" filesystems. Windows will not do this.

So my guess is that this is not a FAT32 problem.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top