This repository has been archived by the owner on Feb 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Vladort fixes Fix file right error, error 102400, error 0000 or ---- and file edit override fail when size of file is under existing file size * Fix statError handling, remove redundant code block os.Create will truncate an existing file, so there is no reason to remove the file first here. Also you can't make it to that last removed point without a file existing because of the return on (now) line 114. * Fix waterfall issue on Rmdir causing os.Chown warnings * Default filemode for files to be 0644, otherwise use 755 for folders * This should still respect the request flags when modifying a file * This should still respect the request flags when modifying a file * Fix os.OpenFile call to be used still * I can't imaging this ever happening * Try again for like the 5th time to do this right * This file shouldn't be here * Force a file truncation, don't rely on the client to send correct flags. * Use os.Open for reads
- Loading branch information
Showing
2 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters