OMV CIFS shares permissions inconsistent

  • I'm having an issue where some users are not able to access some files in a cifs/share from OMV while others are able to access all files.


    User 1 : created when OMV 6 was installed months ago, this was a fresh install

    User 2: created recently

    Both users are two on different Debian Bullseye VMs.
    User 1 is able to access all files on the share without any issues, read & write.
    User 2 is only able to access some files, while most other files are not accessible.

    There are no network issues as I'm able to transfer the accessible files without any issue.

    Actually, interestingly on the same machine I have multiple shares loaded, two shares have no issue accessing all files while the third share is giving me issues.

    Both users have the same permissions in the shared folders > permissions panel for all shares.

    I removed all ACLs using the commands

    setfacl -b -R
    chmod g=rwx

    On the client devices the shares are mounted like so, ofc multiple times as there are more than one share.

    //share.domain.local/share /mnt/share cifs cred=/var/lib/mnt-share.cred,iocharset=utf8,uid=user,gid=group,file_mode=0770,dir_mode=0770,vers=3.1.1,nofail,noauto,x-systemd.automount,rsize=32768,wsize=32768,cache=none

    To be safe I changed some values, for instance the UID and GID are the default user/group I have on all my VMs, and I made it so the user that's actually accessing the files is in the same group defined in the FSTAB entry.

    Not sure where else to go from here, Linux permissions always screw me over. Any help would be appreciate.

    I can provide logs if necessary, but not sure what logs would help here.

Participate now!

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