remote mount with Fritz!NAS doesn't work with write access

  • Hello all,

    I'm using a Fritzbox 7530 with a connected USB harddrive as NAS (FritzNAS). It works pretty fine as network drive (read, write, execute) with my Windows laptop and I have also a stable read/write access with my Android smartphone. Everything works with all users I have enabled with read and write access to certain folders on the Fritzbox.

    Now I installed the remotemount plugin and connected the FritzNAS for backups to a storage/harddisk on OMV. OMV is installed on a RaspberryPi 4. The backups with rsync are also executed daily without any problems.

    As soon as I use the shard folders for any application who need to write data on the FritzNAS it doesn't work.

    The strange thing is that I can't set users group rights with read and write permissions.

    As soon as I try to do these settings on the shared folders ACL, OMV replys with an "... Operation not supported.


    I didn't setup any ACL definitions for any users or groups.

    When I try to write data to FritzNAS from command line I do get the same reply. I tried to use photoprism for my photos stored on the FritzNAS which needs also read and write access for the system user 'photoprism'. Same problem with the application Czkawka (find duplicate files) on docker. All applications are working fine as long they don't have to write anything on the FritzNAS.

    When I go to the FritzNAS via the remotemount folder and I try to write or create data or a folder system replys with a "permission denied".

    When I list the file and folders on FritzNAS on a terminal window I can see that all data ownership root and also group access root which obviously I can not change due to the internal rights management of FritzNAS.

    drwxr-xr-x 2 root root 0 Mar 1 17:34 Media

    But actually I thought it shoudn't be necessary to change this settings as I defined a special user on the Fritzbox with SMB/CIFS access rights for reading and writing data on that storage.

    As I mentioned, for the Windows laptop and Android smartphone the SMB connection works reliable.


    After many tests and trys I'm pretty frustrated and I hope somebody could help me with a good idea what I could have made wrong or what the problem could be.

    Here my optional settings I'm using for the remotemount:

    iocharset=utf8,vers=3.0,nofail,noserverino


    System: FRITZ!Box 7530, FRITZ!OS 7.57, RaspberryPi 4b 8GB, Linux 6.1.21-v8+, OMV 6.9.14-1 (Shaitan),


    Erwin

  • KM0201

    Approved the thread.
  • Perhaps it is a more general problem and has less to do with the FritzBox, but with ACL as a prerequisite!

    Due to a change in OMV (mandatory ACL permissions when creating a shared folder) I am now already struggling with creating a required shared folder at this step. So for me now it looks like there is no chance to use the FritzBox as backup server for OMV or vice versa.

    The documentation shows that OMV "mounts all Linux filesystems with ACL enabled". I couldn't find any setting at Fritzbox for enabling ACL even the filesystem of the connected storage (ext4) supports ACL. I'm just wodering how all the other users could realize Fritzbox as backup server. Actually, the same problems should have occurred even without the "new" permissions query.

    It's quite a shame if the journey ends here, because for me it looked like a very smart and simple solution for Fritzbox owners.

    (Not to mention all the time I have invested. But I'll file that under training and gaining experiance ;-))

    Nevertheless, I still hope that someone here has the bright idea?


    Here's a quick summary of what I've been up to last.

    I have redirected all existing connections to other shared folders and deleted the remote mount and the shared folders with connection to the Fritzbox to start again. At the same time, I monitored the status of the folders via the terminal and tested the behavior when changing the file permissions manually.

    1. Create a new remote mount on the FritzNAS (settings see screenshot).
    2. ssh (login: pi):
      1. /srv/remotemount$ ls -l
        drwxr-xr-x 2 root root 0 Mar 5 10:36 FZNAS
        >> Remote Mount ist mounted!
      2. drwxr-xr-x 2 root root 4096 Mar 5 10:49 FZNAS >> after unmount in OMV
      3. sudo chgrp -c users FZNAS
        drwxr-xr-x 2 root users 4096 Mar 5 10:49 FZNAS
        >> group successfully changed
      4. drwxr-xr-x 2 root root 0 Mar 5 10:36 FZNAS >> after mount in OMV >> manual change useless
      5. /srv/remotemount/FZNAS$ >> folder still empty
    3. Create a shared folder on the remote mount (settings see screenshot).
      1. Here somthing changed since I created this shared folder the first time. The line with permissions is new! (see als screenshot of fromerly created shared folder)
      2. Received error at save: "...with exit code '1': setfacl: /srv/remotemount/FZNAS/ASMT-2115-01: Operation not supported ..."
        I even doublechecked the write permissions for the FritzBox user (bckp-usr) within FritzBox.
      3. Try to change still existing "old" shared folder (FritzNAS) ended now with the identical error message.
      4. I also tried all other options for the permissions, but they all ended with the same error.
    4. Is this the end🙄?

  • I have same problem with fritzbox 7530.

    With other app system , example adroid, smb work well, but with my two system, proxmox and omv, is impossible write to fritz smb.

    I tryed many smb options, but without resulr

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!