.
D 2010-01-20T09:25:12
J assignee vincentdarley
J cmimetype text/plain
J comment From\sc.l.t\s\sposting\sby\skeithv\s-\n----\nIs\sthe\smode\svalue\sfrom\sfile\sstat\smeaningful\son\sWindows.\nUnder\stcl\s8.5,\sit\salways\sseems\sto\sreturn\s0644\neven\sif\syou\shave\spermission\swrite\sto\sthe\sfile.\n\n(This\sproblem\scame\sup\swhen\sI\swas\strying\sto\sfigure\nout\swhy\stcllib's\sftpd\spackage\swouldn't\slet\sme\sdelete\na\sfile.)\n\nThanks,\nKeith\s\n----\n\nLooking\sat\sthe\scode,\sthe\sproblem\sis\sin\sthe\sNativeStatMode\sfunction\sin\stclWinFile.c\nThe\slines\spropagating\sthe\sowner\sbits\sto\sgroup\sand\sothers\s-\n\s\s\s\smode\s|=\s(mode\s&\s0x0700)\s>>\s3;\n\s\s\s\smode\s|=\s(mode\s&\s0x0700)\s>>\s6;\nshould\sbe\n\s\s\s\smode\s|=\s(mode\s&\s0700)\s>>\s3;\n\s\s\s\smode\s|=\s(mode\s&\s0700)\s>>\s6;\n\n(i.e.\soctal\s700,\snot\shex)\n\n/Ashok
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter apnadkarni
J subsystem 37.\sFile\sSystem
J title Incorrect\smode\sfield\sreturned\sby\sfile\sstat\scommand
J type Bug
K 2935503fffffffffffffffffffffffffffffffff
U apnadkarni
Z 855f1b88bf496324b1119347e32aa30b