<i>file cmd fails to copy to VFAT</i> status still Open with 3 other changes
by
.
D 2026-10-20T21:33:41.031
J icomment Still\spresent\sin\s8.6,\s9.0\sand\s9.1:\safter\scopying\sthe\sdata,\s<nowiki>[file\scopy]</nowiki>\ssets\sthe\smode\sand\sthe\stimes\sof\sthe\snew\sfile,\sand\swhen\sthat\sfails\swith\sEPERM\s(VFAT\sand\ssimilar\sfilesystems)\sit\sremoves\sthe\scopy\sand\sreports\san\serror.\sCopying\sa\sdirectory\sfails\sthe\ssame\sway\sand\sleaves\sa\spartial\stree.\n\nProposed\sfix\sin\sbranch\s[/timeline?r=copy-eperm-attrs|copy-eperm-attrs],\salso\sfor\s[731062ffff]:\sEPERM\sfrom\s<tt>chmod()</tt>\sand\s<tt>utime()</tt>\sof\sthe\snewly\screated\sfile\sis\signored,\sas\scp\sdoes,\sso\sthe\scopy\sis\skept\s(without\sthe\smode\sor\stimes\sthat\sthe\sfilesystem\scannot\sstore).\sTested\swith\san\sLD_PRELOAD\sshim\sthat\smakes\sthese\scalls\sfail;\sno\stest\sin\sthe\ssuite,\ssince\sit\sneeds\ssuch\sa\sfilesystem.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 1523045fffffffffffffffffffffffffffffffff
U serhiy.storchaka
Z 3380fb850514fd6bbebd3467518ff1bc