Comments (2)
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.
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)
- Dark theme support HOT 1
- Can't add writable folders HOT 2
- Please make cockpit-syntaxes available
- Usage of Active Directory Users HOT 2
- Write permission issue (Samba) Resolved
- Infinity loading
- Support for Fedora
- 'tab' in /etc/exports.d/cockpit-file-sharing.exports is not parsed well HOT 1
- NFS 'Import/Export Config | export ' failed to work HOT 1
- Warn if a share name equals a users name
- Client Name field value containing a comma breaks access to NFS share HOT 2
- [feature request] Add support for Ksmbd HOT 1
- "Unknown parameter encountered" when importing from /etc/samba/smb.conf
- Remove dependency for cockpit-ws for fcos
- [Feature Request] "Close Share" when removing share HOT 1
- Edit users/groups of the Samba share after creation HOT 1
- Permission denied when connecting from a remote Cockpit instance
- Phantom shares when Samba audit prefix contains brackets in the value string
- Unknown parameter encountered: "includes" HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cockpit-file-sharing.