Re: [PATCH] Improve the filemode trustability check

2014-11-19 Thread Junio C Hamano
Torsten Bögershausen writes: > Some file systems do not support the executable bit: > a) The user executable bit is always 0, e.g. VFAT mounted with -onoexec > b) The user executable bit is always 1, e.g. cifs mounted with > -ofile_mode=0755 > c) There are system where user executable bit is 1 e

[PATCH] Improve the filemode trustability check

2014-11-19 Thread Torsten Bögershausen
Some file systems do not support the executable bit: a) The user executable bit is always 0, e.g. VFAT mounted with -onoexec b) The user executable bit is always 1, e.g. cifs mounted with -ofile_mode=0755 c) There are system where user executable bit is 1 even if it should be 0 like b), but the