From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 23 Aug 2012 11:54:02 -0400 To: 9fans@9fans.net Message-ID: <3a530d722f6d0427e02b7dbb11094baa@brasstown.quanstro.net> In-Reply-To: References: <177b10c1bec88723506aca2c8e4c84c0@brasstown.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] APE rename: wstat for 'none' Topicbox-Message-UUID: aee2429c-ead7-11e9-9d60-3106f5b1d025 On Thu Aug 23 11:44:55 EDT 2012, yarikos@gmail.com wrote: > > why is this related to ape? if you are none, then you are limited > > as to what you can do on the file server. you may just have an auth problem. > > APE implements rename() in terms of wstat or copying. It's just > doesn't try to work around failing wstat (that's perhaps a good thing) > while mv does. > > There are no auth problem since I deliberatly run the python web app > as none, not willing to give it eve's powers. are you sure? ; touch bz ; ratrace -c mv bz bw >[2=1]| grep -v 'Stat|Brk' >>> 780517 mv Wstat 4815 0xdfffceec/"bz" 0xc700 51 = 51 "" 1345736940235277042 1345736940235937748 780517 mv Open 1a7e 0xbd54/"#c/pid" 0x0 = 3 "" 1345736940236432242 1345736940236445037 780517 mv Pread 4835 3 0xdfffeef4 20 -1 0xdfffeef4/".....780517." 20 -1 = 12 "" 1345736941063833708 1345736941063836265 780517 mv Close 1a8e 3 = 0 "" 1345736941064897487 1345736941064899639 780517 mv Exits 4845 0/""