Want to Mount files from helm, not mirror

Is there a way to mount the directory of files stored on helm as an external shared file system on a client? I want to manipulate the files stored on helm using file commands on my linux client. I do not want to have to create and maintain a mirror copy of the files on the linux client. I have the Nextcloud client on my linux machine, but it seems to work only with a mirror copy. Any suggestions how to operate on the files without mirroring?

Thanks,
Steven

I’m not on Linux but I successfully use WebDAV to access files directly on Helm.

This might help: https://blog.sleeplessbeastie.eu/2017/09/04/how-to-mount-webdav-share/

1 Like

Thank you for suggesting WebDAV. It can be used to add and remove files on the Helm server, which is useful.

I read the article about mounting a WebDAV share and tried what he says. I could not get the authentication to work with the mount command. It says something about a simple challenge is not accepted by the server. There must be authentication methods that are known to the browsers (for WebDAV) that I don’t have working with the mount command.
Steven

I just tried it on my Raspberry Pi and it worked with davfs2:

$ sudo apt-get install davfs2
...
$ sudo mount -t davfs -o noexec https://files.mydomain.com:9443/remote.php/dav/files/me@mydomain.com/ /mnt/helm
Please enter the username to authenticate with server
https://files.mydomain.com:9443/remote.php/dav/files/me@mydomain.com/ or hit enter for none.
  Username: me@mydomain.com
Please enter the password to authenticate user me@mydomain.com with server
https://files.mydomain.com:9443/remote.php/dav/files/me@mydomain.com/ or hit enter for none.
  Password:  
/sbin/mount.davfs: warning: the server does not support locks
$ ls /mnt/helm
Helm.jpg
1 Like

Thanks again, tms. I didn’t know to use me@mydomain.com as the username.
That works for me too. Previously I tried using just me as the username, which did not work.

1 Like