.
D 2026-11-11T14:35:12.989
J assignee jan.nijtmans
J closer nobody
J comment On\sLinux\s(Kernel\s2.6.5-7.111.19,\sglibc-2.3)\scopying\sthe\r\nfile\s"short"\sto\sa\sdirectory\son\sa\sVFAT\sfilesystem\sfails,\r\n\r\n\sfile\scopy\sshort\s/D/home/bs\r\n\serror\scopying\s"short"\sto\s"/D/home/bs/short":\snot\sowner\r\n\r\nThe\sactual\scopying\sworks\sfine\sbut\ssince\sthe\starget's\r\npermissions\scan\snot\sbe\sset,\sthe\scopy\sis\sunlinked\sand\san\r\nerror\sis\sgenerated\safterwards.\sThe\sstrace\soutputs\sis\r\n\r\n---------------------------------------------\r\nlstat64("short",\s{st_mode=S_IFREG|0644,\sst_size=13,\r\n...})\s=\s0\r\nlstat64("/windows/D/home/bs/short",\s0xbfffe5d8)\s=\s-1\r\nENOENT\s(No\ssuch\sfile\sor\sdi\r\nunlink("/windows/D/home/bs/short")\s\s\s\s\s\s=\s-1\sENOENT\s(No\r\nsuch\sfile\sor\sdirectory)\r\nopen("short",\sO_RDONLY|O_LARGEFILE)\s\s\s\s\s=\s6\r\nopen("/windows/D/home/bs/short",\r\nO_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE,\s0100644)\r\nread(6,\s"file\sto\scopy\\n",\s4096)\s\s\s\s\s\s\s\s\s=\s13\r\nwrite(7,\s"file\sto\scopy\\n",\s13)\s\s\s\s\s\s\s\s\s\s=\s13\r\nread(6,\s"",\s4096)\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s=\s0\s\r\nclose(6)\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s=\s0\r\nclose(7)\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s=\s0\r\nchmod("/windows/D/home/bs/short",\s0644)\s=\s-1\sEPERM\r\n(Operation\snot\spermitted)\r\nchmod("/windows/D/home/bs/short",\s0644)\s=\s-1\sEPERM\r\n(Operation\snot\spermitted)\s\s\s\r\nunlink("/windows/D/home/bs/short")\s\s\s\s\s\s=\s0\r\nwrite(1,\s"error\scopying\s\\"short\\"\sto\s\\"/D/hom"...,\s56)\s=\s56\r\n--------------------------------------
J login jan.nijtmans
J mimetype text/plain
J resolution Fixed
J severity Minor
J status Pending
K 1523045fffffffffffffffffffffffffffffffff
U jan.nijtmans
Z e762ad22c8a3cffbabb08b32a4cb68f1