cockpit-file-sharing icon indicating copy to clipboard operation
cockpit-file-sharing copied to clipboard

Users and Groups assigned to shares changes after logout / restart

Open Jesse-Dur opened this issue 1 year ago • 3 comments

Bug Info

Describe the bug After adding a user under the valid users section to a share and hitting confirm, I then log out of cockpit and log back in and the user has switched to that of another share or all users and groups are removed entirely from a share.

To Reproduce Steps to reproduce the behavior:

  1. Install cockpit, cockpit file sharing, and cockpit identities onto an ubuntu 20.04LTS machine.
  2. Add users & groups.
  3. Create multiple samba shares and assign different users and groups to each.
  4. Log out of cockpit or restart machine and the users and groups will be shuffled around between shares and incorrect.

Expected behavior Users and Groups assigned to shares save correctly after a restart.

Client Side

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Edge

Server Side

  • OS: Ubuntu Server 20.04 LTS
  • Cockpit Version: 295
  • Cockpit File Sharing Version: 3.3.4

Additional context Tried with Ubuntu Server 22.04 LTS with same problem.

Jesse-Dur avatar Jul 01 '23 04:07 Jesse-Dur