Filesystem write permissions

I improved the error messages that occur when a filesystem assetstore fails due to permission issues.  When we fail to upload a file and we offer to resume the upload, if the user clicks close, the upload was abandoned and unreachable.  This partial upload is now discarded (if possible).

While testing the upload abort, I saw we weren't actually testing chunked uploads to non S3 assetstores through the web client.  I added tests for that, and reduced the required chunk size during the test so that the tests are faster.

This addresses issue #392.
A debug statement left in.  Darn.

On Tue, Oct 14, 2014 at 1:57 PM, Zach Mullen <notifications@github.com>
wrote:

> In clients/web/test/spec/dataSpec.js:
>
> > @@ -31,6 +46,7 @@ var uploadDataExtra = 0;
> >                   * can test resumes. */
> >                  this.setRequestHeader('x-amz-copy-source', 'bad_value');
> >              }
> > +            console.log("BLOB "+data.size); //DWM::
>
> Is this a signal to the outer process or just a debug statement left in?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/girder/girder/pull/401/files#r18846139>.
>