Jump to content

Tidus

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Tidus

  1. 8 hours ago, mgutt said:

    Usually this is not provided, but I solved it by adding two different mounts:

     

    image.png.aee52d2d96ffc9cc387357b9d16a14d6.png

     

    image.png.81b6f1db3440173cd6a95ac7ca21ccc6.png

     

    This means /mnt/user/webdav or in your case /mnt/user/Documents is linked to /var/lib/dav/data and the parent dir /var/lib/dav is linked to /mnt/user/appdata/webdav.

     

    But there is still a problem:

    If I create a file through SMB in the directory /mnt/user/webdav, it has the correct user "marc" and chmod 666, but if I upload a file through a WebDAV client (Filezilla Pro) which uses the Docker itself, the file has the correct user "nobody", but the chmod is only 644 which disallows "marc" to edit the file:

    image.png.efee35ee0b0504fd4cb78108546a1d11.png

     

    @ich777

    Do you have a hint for me to solve this or is this related to the container's source code?

    Thank you sooo much for your kind help!

    I've already solved my problem by changing the path, linking /var/lib/dav/data to the dir I needed. But I ignored the other mount "Config" you mentioned aboved. I don't know why but it seemed everything is fine up to now. I have the access to my webDAV and the dir is what I specified (I don't want to have access to all the files in my NAS through this webDAV so I did need to specify the very dir).

    I know nothing about coding but everything now is perfect for me.

    Thank you once again for your kind help!

  2. 22 hours ago, mgutt said:

    Ok, I found a docker container which uses noodlefighter's last pull request:

    https://hub.docker.com/r/shouya/docker-webdav

     

    I updated the Unraid template accordingly. It should be online in the Unraid Apps in around 2 hours. It should support SSL certificates and set correct UID and GID for uploaded files.

    Thank you so much for your kind effort. I tried just now and the problem has perfectly solved. But it seems there is another problem:

    image.png.489530c5a1432304e8cf2128337f3d72.png

    I specified the share path for this container as above: /mnt/user/Documents/

    When I log in through webdav remotely, I did have access to the webdav server, but it was empty. Then I carefully checked everything and found that it seemed that this container created a new folder (/mnt/user/Documents/data) under Documents where I specified, which means that I can only have access to /mnt/user/Documents/data instead of what I specified (/mnt/user/Documents/)

    I'll be so grateful if you may tell me how to fix it. I do need to have access to /mnt/user/Documents/ through webdav.

    Thank you so much!

  3. Hi Mgutt! Thanks a lot. But I encountered a problem. After I edit a file (for example an Excel file) by opening it through webdav, I can only open the same file with READ ONLY mode when I come back home where my unRaid server is through smb.

    Could you please tell me why and how to fix it? Thank you so much!

×
×
  • Create New...