Bug 187485 - sysutils/fusefs-wdfs: Unable to create files on mounted via fusefs-wdfs web-dav shares.
Summary: sysutils/fusefs-wdfs: Unable to create files on mounted via fusefs-wdfs web-d...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-12 15:20 UTC by Alexey T. Shamanov
Modified: 2018-11-03 17:45 UTC (History)
2 users (show)

See Also:


Attachments
wdfs-create patch (981 bytes, patch)
2014-08-23 21:23 UTC, Pavel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey T. Shamanov 2014-03-12 15:20:00 UTC
I am unable to create files on mounted web-dav shares, editing existed files or creating directories is possible.
The answer is "Function is not implemented"

 wdfs https://webdav.yandex.ru -o username=xxxx@yandex.ru /mnt
 touch /mnt/test.txt
 touch: /mnt/test.txt: Function not implemented
 When using wdfs in debug mode via:
 wdfs https://webdav.yandex.ru -o username=xxxx@yandex.ru /mnt -D -d
 password: 
 FUSE library version: 2.9.3
 nullpath_ok: 0
 nopath: 0
 utime_omit_ok: 0
 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 2170
 INIT: 7.8
 flags=0x00000000
 max_readahead=0x00010000
 >> wdfs_init()
    INIT: 7.19
    flags=0x00000010
    max_readahead=0x00010000
    max_write=0x00020000
    max_background=0
    congestion_threshold=0
    unique: 1, success, outsize: 40
 unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 49, pid: 2172
 LOOKUP /temp.txt
 getattr /temp.txt
 >> wdfs_getattr(/temp.txt)
 ** <no> cache hit for '/temp.txt'
 ## PROPFIND error in wdfs_getattr(): 404 Object Not Found
    unique: 2, error: -2 (No such file or directory), outsize: 16
 unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 49, pid: 2172
 LOOKUP /temp.txt
 getattr /temp.txt
 >> wdfs_getattr(/temp.txt)
 ** <no> cache hit for '/temp.txt'
 ## PROPFIND error in wdfs_getattr(): 404 Object Not Found
    unique: 3, error: -2 (No such file or directory), outsize: 16
 unique: 4, opcode: CREATE (35), nodeid: 1, insize: 57, pid: 2172
    unique: 4, error: -78 (Function not implemented), outsize: 16

How-To-Repeat: Install fusefs-wdfs via ports or packages.
Mount web-dav share using it.
Try to create files on mounted share.
Comment 1 Edwin Groothuis freebsd_committer 2014-03-17 04:39:12 UTC
Maintainer of sysutils/fusefs-wdfs,

Please note that PR ports/187485 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/187485

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer 2014-03-17 04:39:13 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 John Marino freebsd_committer 2014-07-26 14:35:53 UTC
The maintainer has been removed from this port and its currently scheduled for removal by the end of August due to lack of stage support.
Comment 4 Pavel 2014-08-23 21:23:37 UTC
Created attachment 146194 [details]
wdfs-create patch

Adds CREATE operation to wdfs
Comment 5 Pavel 2014-08-23 21:24:31 UTC
Seems CREATE operation is missing from wdfs(have no idea why) proposed patch fixing this issue.
Comment 6 John Marino freebsd_committer 2014-09-07 15:22:07 UTC
Pavel, you didn't address the lack of staging, so I'm removing this port today.  No port depends on it and this PR (incorrectly) blocked its removal last week.
Comment 7 commit-hook freebsd_committer 2018-11-03 17:45:48 UTC
A commit references this bug:

Author: danfe
Date: Sat Nov  3 17:44:51 UTC 2018
New revision: 483904
URL: https://svnweb.freebsd.org/changeset/ports/483904

Log:
  Deprecate: the project looks dead upstream, functionally incomplete, has
  problems with caching, does not work with Yandex.Disk; give three months
  of expiration time.

  Consumers are advised to use `www/cadaver' or try to port `fusefs-davfs2'
  instead (http://savannah.nongnu.org/projects/davfs2).

  Approved by:	maintainer (1 month timeout)
  PR:		187485, 231927

Changes:
  head/sysutils/fusefs-wdfs/Makefile