Giter Site home page Giter Site logo

Comments (2)

adams13x13 avatar adams13x13 commented on July 24, 2024

I can confirm, cockpit-file-sharing 3.3.4-1focal under Proxmox virtual environment 7.4-17 server, Google Chrome under Linux client.

To better reproduce:

Create 4 shares with different user assignments in the following order: "Share_4", "Share_3", "Share_2", "Share_1".
After "page reload" in web browser the user assignments are exchanged.

Share_1 gets users from Share_4,
Share_2 gets users from Share_3,
Share_3 gets users from Share_2,
Share_4 gets users from Share_1.

The same happens if I export configuration to a file on my computer and import it ("page reload" is required to be able to export, see #86).

User assignments in the exported file (cockpit-file-sharing_samba_exported_....conf) are correct, however in the reverse order (4-3-2-1).

User assignments in the system (as seen with 'sudo testparm') are correct, however in the reverse order like in the exported file.

If I edit any share and close it with "confirm" without any change, the (wrong) user assignment that was on the screen is saved in the export file and in the result of 'sudo testparm'.

It looks the problem is only that the GUI elements are initialized in the wrong order and than they keep this wrong information. The first share item in the alphabetically sorted list gets the users of the first created share item and so on.

from cockpit-file-sharing.

ofotache avatar ofotache commented on July 24, 2024

I can confirm, experiencing it on Raspberry Pi OS bookworm arm64.
It can be reproduced by refreshing the page.
I've discovered that the user assigned persists, even if it doesn't show up anymore, this can be tested by exporting the config the user is still in conf.

3.3.4-1focal_all.deb

from cockpit-file-sharing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.