diff options
author | Jakob Unterwurzacher | 2015-09-05 19:07:20 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-09-05 19:07:20 +0200 |
commit | 199d3fd79ff03222cf7498418b40e1263f8aa104 (patch) | |
tree | e20363482b6332969687302b8e0fa668160b38d0 /frontend/dir.go | |
parent | 4ab9862ccb5911836acda9834b0b25f892229533 (diff) |
Fix write path
Diffstat (limited to 'frontend/dir.go')
-rw-r--r-- | frontend/dir.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/dir.go b/frontend/dir.go index ce64a5a..46be0db 100644 --- a/frontend/dir.go +++ b/frontend/dir.go @@ -103,6 +103,9 @@ func (d *Dir) Remove(ctx context.Context, req *fuse.RemoveRequest) error { func (d *Dir) Create(ctx context.Context, req *fuse.CreateRequest, resp *fuse.CreateResponse) (fusefs.Node, fusefs.Handle, error) { fmt.Printf("Create\n") + + req.Flags, _ = fixFlags(req.Flags) + req.Name = d.crfs.EncryptPath(req.Name) n, _, err := d.Dir.Create(ctx, req, resp) if err != nil { |