From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] APE rename: wstat for 'none'
Date: Thu, 23 Aug 2012 11:54:02 -0400 [thread overview]
Message-ID: <3a530d722f6d0427e02b7dbb11094baa@brasstown.quanstro.net> (raw)
In-Reply-To: <CAG3N4d9NVTKqwH9Ho0LkfSqxgZAxsGpwN_tFW-4k6GaUFdrQpA@mail.gmail.c>
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/""
next prev parent reply other threads:[~2012-08-23 15:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAG3N4d_daNzfAbW8cn5xvF3zJ7sx4gpjGpWpL2dL_3mXdNruzA@mail.gmail.c>
2012-08-23 15:16 ` erik quanstrom
2012-08-23 15:43 ` Yaroslav
[not found] ` <CAG3N4d9NVTKqwH9Ho0LkfSqxgZAxsGpwN_tFW-4k6GaUFdrQpA@mail.gmail.c>
2012-08-23 15:54 ` erik quanstrom [this message]
2012-08-23 16:18 ` Yaroslav
[not found] ` <CAG3N4d-aMWWawDBksttk5AG4wv44LPkmoQ9XF7TAUZ85a7ZGGw@mail.gmail.c>
2012-08-23 16:23 ` erik quanstrom
2012-08-23 16:32 ` Yaroslav
[not found] ` <CAG3N4d_XzC19rud_S4WjLdKV9H28S0FtEW3AnHFatL+UqGAcAw@mail.gmail.c>
2012-08-23 16:42 ` erik quanstrom
2012-08-23 16:54 ` Yaroslav
2012-08-23 14:46 Yaroslav
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a530d722f6d0427e02b7dbb11094baa@brasstown.quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).