Follow

Sad that no mainstream web browser supports the Samba protocol. I have an archive of HTML files stored in a Samba share which I can't read.

@njoseph ... so mount it and open the files in the browser?

@njoseph

A Samba share is like a network drive. Your browser doesn't normally have to support the protocol explicitly, because it's handled by the OS, & works just like opening an HTML document on your local machine.

@publius I have exactly the same theory in my head.

But in practice, each application in Gnome seems to be supporting SMB. Files, Evince, Rhythmbox, VLC etc. are all individually supporting SMB. If I drag and drop a HTML file into the browser, it simply searches for the file path (smb://path/to/file.html) as a search query.

There doesn't seem to be a way of opening an SMB mount in a terminal.

@njoseph

Assuming that you have "smbclient" & "cifs-utils" installed (which may not be by default), your problem may be that, according to the link below, "By default only root may mount SMB shares on the command line." It's an Ubuntu-oriented page, but the advice appears as though it should be more broadly applicable.

help.ubuntu.com/community/Samb

@njoseph @publius
The application isn't really supporting SMB. It's using GNOME's filesystem and URL APIs, and GNOME is automatically mounting the SMB volume without the application having to know anything about it.

@njoseph That's a case that works fine though: web tech and Samba compose nicely. Mount the Samba share and use file:// no need to add even more features to a browser

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!