I have an aws Ubuntu and I mount an external drive to it, like this:
sudo mount -t davfs -o noexec http://www.whatever:port//folder/another_folder/another_folder2/ /mnt/another_folder2
After then I chown
and chmod
the folder so I can edit it
But what ever I put in this folder disappears. I cannot see it from this Ubuntu machine. However, when I mount the drive to my PC I see whatever I put there from Ubuntu.
I have uncommented davfs2.conf
:
use_locks 0
if_match_bug 1
drop_weak_etags 0
I have tried to edit fstab
, but to be honest I do not know how should it be:
LABEL=cloudimg-rootfs2 / davfs rw,user,umask=000 0 0
I found some kind of my files in lost+found in the mounted folder (they had some random id attached to them)
Is there a way to use mounted drive appropriately?