.
D 2006-07-15T12:35:56
J assignee dkf
J cmimetype text/plain
J comment On\sLinux\s(Kernel\s2.6.5-7.111.19,\sglibc-2.3)\scopying\sthe\nfile\s"short"\sto\sa\sdirectory\son\sa\sVFAT\sfilesystem\sfails,\n\n\sfile\scopy\sshort\s/D/home/bs\n\serror\scopying\s"short"\sto\s"/D/home/bs/short":\snot\sowner\n\nThe\sactual\scopying\sworks\sfine\sbut\ssince\sthe\starget's\npermissions\scan\snot\sbe\sset,\sthe\scopy\sis\sunlinked\sand\san\nerror\sis\sgenerated\safterwards.\sThe\sstrace\soutputs\sis\n\n---------------------------------------------\nlstat64("short",\s{st_mode=S_IFREG|0644,\sst_size=13,\n...})\s=\s0\nlstat64("/windows/D/home/bs/short",\s0xbfffe5d8)\s=\s-1\nENOENT\s(No\ssuch\sfile\sor\sdi\nunlink("/windows/D/home/bs/short")\s\s\s\s\s\s=\s-1\sENOENT\s(No\nsuch\sfile\sor\sdirectory)\nopen("short",\sO_RDONLY|O_LARGEFILE)\s\s\s\s\s=\s6\nopen("/windows/D/home/bs/short",\nO_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE,\s0100644)\nread(6,\s"file\sto\scopy\\n",\s4096)\s\s\s\s\s\s\s\s\s=\s13\nwrite(7,\s"file\sto\scopy\\n",\s13)\s\s\s\s\s\s\s\s\s\s=\s13\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\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\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\nchmod("/windows/D/home/bs/short",\s0644)\s=\s-1\sEPERM\n(Operation\snot\spermitted)\nchmod("/windows/D/home/bs/short",\s0644)\s=\s-1\sEPERM\n(Operation\snot\spermitted)\s\s\s\nunlink("/windows/D/home/bs/short")\s\s\s\s\s\s=\s0\nwrite(1,\s"error\scopying\s\\"short\\"\sto\s\\"/D/hom"...,\s56)\s=\s56\n--------------------------------------\n
J foundin obsolete:\s8.5a4
J priority 5\sMedium
J resolution None
J status Open
J submitter bernhard_sr
J subsystem 16.\sCommands\sA-H
J title file\scmd\sfails\sto\scopy\sto\sVFAT
J type Bug
K 1523045fffffffffffffffffffffffffffffffff
U bernhard_sr
Z 86b19456cd7adde84165693dd0eece6c