Help a newb out with shares and cifs

    • OMV 2.x
    • Help a newb out with shares and cifs

      So what am i trying to do here now is, to have a 1 main folder called Backups and inside that folder each user has their own folder where windows backups automatically uploads their files.
      It goes like this :
      Backups/User1
      Backups/User2
      Backups/User n...
      But i dont want any of the users be able to write/read into other users folders, this is mainly because of anykind of malware(ransom) etc..

      So help a newb out, how to create a system like this?
      Atm, i have created all of the users and share folder inside the backup folder for them.
      But all users are able to see all the other users files aswell.
    • Thanks for reply,
      Made users, assigned each user their own share, but when im trying to change ACL,i get this error :

      Failed to execute command 'export LANG=C; setfacl --remove-all -M '/tmp/setfacleZjHB1' -- '/pool/backup/user2/' 2>&1': setfacl: /pool/backup/user2/: Operation not supported
      Error #4000:exception 'OMVException' with message 'Failed to execute command 'export LANG=C; setfacl --remove-all -M '/tmp/setfaclp4Ef1p' -- '/pool/backup/user2/' 2>&1': setfacl: /pool/backup/user2/: Operation not supported' in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:1220Stack trace:#0 [internal function]: OMVRpcServiceShareMgmt->setFileACL(Array, Array)#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setFileACL', Array, Array)#3 /usr/sbin/omv-engined(500): OMVRpc::exec('ShareMgmt', 'setFileACL', Array, Array, 1)#4 {main}
    • Okey, reseted the ACL changes i tried to do.
      Assigned Privileges only
      User 1 can read/write to share User1 and not into User2 shares
      User 2 can read/write to share User2 and not into User1 shares
      But it seems either user can still see into others share folder, including reading and writing there.
      Images
      • user1.PNG

        20.25 kB, 553×355, viewed 97 times
      • user2.PNG

        20.1 kB, 551×352, viewed 68 times