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

When connecting to additional host via cockpit, smb shares are only made on ws host

Open braccae opened this issue 4 months ago • 1 comments

Bug Info

Describe the bug Tested on fedora 42, 43, EL 9, 10, Debian 12

Multi hosting with cockpit via ssh, primary ws instance then connect to others top left host switcher. Trying to create a share on any secondary host actually creates the share on the main host. During share creation, the path validator also only looks at the main host and not the current host. The share entry appears in the file sharing page on all hosts. Share is never actually created.

To Reproduce Steps to reproduce the behavior:

  1. Go to top left cockit, add host then connect
  2. Click on file sharing tab
  3. Attempt to create a smb share
  4. See error

Expected behavior smb share is created on the current host

Screenshots If applicable, add screenshots to help explain your problem.

Console Output no console output

Client Side

Content-Security-Policy: Ignoring ‘block-all-mixed-content’ because mixed content display upgrading makes block-all-mixed-content obsolete. file-sharing

Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content.

braccae avatar Nov 22 '25 15:11 braccae

Can confirm this issue also occurs on ubuntu 24.04.3 LTS, Application version: cockpit-file-sharing 4.3.2-2jammy

petercullen68 avatar Dec 10 '25 17:12 petercullen68