How to navigate your files
From MemopalBetaTest
Contents |
Generalities
Access to your files is https connection to a webdav folder, which is a standard protocol.
Using Gnome interface
Nautilus interface (standard for Ubuntu and Debian) has a simple way to access dav resources:
go to Places
Choose Connect to server:
Choose Custom Location
Put davs://dav.memopal.com as url
Mounting it
There is a project named davfs2 which can make dav folders mountable just a regular nfs or smb share.
You need fuse module in order to use it (which is standard in actual distributions)
In Ubuntu and Debian the package is named davfs2 also.
to mount just do:
mount -t davfs https://dav.memopal.com/__mount_point__
Proxy
Proxy is to be specified in:
/etc/davfs2/davfs2.conf
or
/home/[username]/.davfs2/davfs2.conf
If no proxy is defined in the configuration files the value of this environment variable is used.
in bash:
http_proxy="http://user:password@servername:[portnumber]
Mount for non-root users
Non root user (e.g. filomena):
To allow an ordinary user to mount there must be an entry in fstab
https://dav.memopal.com /media/memopal davfs noauto,user 0 0
If a proxy must be used this should be configured in /etc/davfs2/davfs2.conf or /home/filomena/.davfs2/davfs2.conf
proxy proxy.mycompany.com:8080
Credentials are stored in /home/filomena/.davfs2/secrets
proxy.mycompany.com filomena "my secret" http://webdav.org/dav webdav-username password
Now the WebDAV resource may be mounted by user filomena invoking
mount /media/dav
and unmounted by user filomena invoking
umount /media/dav
Automatic at startup
https://dav.memopal.com /media/memopal davfs user 1 1
Mounts the resource at boot
davfs2 Bugs (from davfs2docs)
davfs2 does not support links (neither hard nor soft ones).
Some servers require the use of special headers or cookies. davfs2 currently can not handle this. But this may as well be considered a server bug (RFC 2518 does not require any of this).
Problem with names
If you see names in mounted folder like:
slash-My%40Computers-...
this means there is a flag to fix in:
/etc/davfs2/davfs2.conf
and put this line:
... use_displayname 0 ...
Caching
Some user are reporting us that davfs2 does some sort of caching. We are going to investigate on it.
This seems to show up when you delete files from memopal dav,
rm gives a regular exit value but files are still there.
We noticed that asking users unmount and re-mount share it gets sinked.
We are tring to find out a way to force cache flush without unmounting.


