6 points

I use both of these systems daily. They have some issues but are just fine for me. Honestly, they are just opposite extremes and I repeat that. They each chose a side.

Whereas windows makes me scream. It’s absolute horseshit that pretends to claim some middle ground that makes no one happy.

permalink
report
reply
22 points
*

The post refers SSHFS which is based upon FUSE, a very neat technology in the Linux kernel which allows a non-kernel develloper - says a python developer-to turn anything into a hierarchy of files and folders, that you can access and modify with your regular local applications. When I says anything, I’m dead serious, FUSE may turn the whole internet into a fake browsable tree of local files on your system. On windows, you have to write a fake disk driver to mimic a fraction of the feature. I don’t know ios but I guess Apple wouldn’t never allow such a wizardry by design.

permalink
report
reply
9 points

Only tangentially related, since I don’t think NBD uses FUSE, but may I present Harder Drive

permalink
report
parent
reply
26 points

Also Windows: “Ask your network administrator for access.”
Me: “Well I’m my own network administrator so what questions do you want me to ask myself”?
Windows: “Enter network username and password.”
Me: There is no network username or password. Sod it, I’ll bung them on an external disk.

permalink
report
reply
15 points

That’s a security quirk. Microsoft reeeeeally doesn’t want you to do anonymous SMB anymore, and with every version of Windows, Microsoft has made is more complicated to get it working like that. It’s probably still possible, but easier just to make a quick local user account and assign it read/write permissions to the share. Samba on Linux can still do it without as much fuss, but I’ve long since just accepted the extra step.

permalink
report
parent
reply
3 points

What’s the risk if done on local network?

permalink
report
parent
reply
8 points

Bad enterprise admins running companies without auth, MS getting the blame.

permalink
report
parent
reply
3 points
*

I would say not much. If it’s your own personal LAN, and only your devices are on it, and you’re not hosting super sensitive data, then I wouldn’t personally be worried. Just depends on your risk acceptance.

Edit: But if you are hosting sensitive data on an untrusted network, then definitely require a user with a strong password. Also, SMB3 and higher supports encryption (both in Windows and Samba for Linux). Encryption isn’t enabled by default, though. So keep that in mind. Easy to setup on both Windows and Linux.

permalink
report
parent
reply
34 points

Wouldn’t you just use AFS, CEPH, NFS, or 9p?

I really don’t want to be that guy, but isn’t SSHFS (FUSE) actually a terrible option when compared to an actual file-system? MacOS isn’t really missing out on much there.

The most painful part of MacOS (which makes it downright unbearable for me) is that system configuration files are XML. It’s an absolute nightmare.

permalink
report
reply
25 points

SSHFS uses SFTP which is built into SSH, so no server to install. Its not as fast as NFS, but requires no setup. For something small like a home lab, that is a big advantage.

permalink
report
parent
reply
9 points

This. Surely not the fastest way to get content from/to a remote computer, but it just works as soon as you enable sshd.

permalink
report
parent
reply
18 points

SSHFS is very mature. I use it for administering several home servers.

It works so well that they added a mode where some users can have SFTP only access (without SSH shell) so you can set up shared directories. It was easier to set up (for me) than CIFS or NFS.

permalink
report
parent
reply
18 points

SSHFS is secure and works well over the internet. If you only want to access it over the LAN, then NFS is a much better option.

permalink
report
parent
reply
1 point

For some (most?) of us, we don’t have ssh access open to the world, so everything is over a VPN. So I can just use NFS over WireGuard which afaik is fairly secure, if you trust your endpoints, and works great over the Internet.

permalink
report
parent
reply
3 points

I’ve never had good luck with NFS on a high latency connection. SSHFS still works fine even if the server is on the other side of the planet.

permalink
report
parent
reply
128 points

I have a mac I use for some specific tasks. I’ll agree the Apple is, ehh, Apple.

But mounting network fileshares is dead simple. My SMB share pops right up, authentication works fine, the user interface for it is fine. If I wanted to use it remotely, I’d just export it over my tailnet.

’sshfs’ is good for short stints of brief use, but ultimately it breaks on a protocol level as soon as your socket dies, on any OS.

permalink
report
reply
5 points
*

Both the default network mounting options in Gnome and KDE won’t let applications access the network drive. You have to mount using SMB4k or cifutils if you want application access. I’ve not used MacOS in over a decade but that functionality works seamlessly in windows for SMB shares. It’s honestly a minor reason (among others) I went back to windows.

permalink
report
parent
reply
1 point

Might be something polkit-related? But yeah, you are right about it not working.

permalink
report
parent
reply
2 points

Unless supporting a Windows client is an absolute must, I’ve found NFS shares to be far preferable. I’ve experienced quicker speeds, fewer disconnections, and less corruption. The only downside I’ve encountered is the client hanging if the server goes down, but there are solutions to that.

I will admit I’ve never done anything beyond simple network shares with NFS, so it’s possible that there are use cases (besides involving Windows, by which I also mean Active Directory) is better.

permalink
report
parent
reply
1 point

I run both NFS and SMB shares. My SMB shares for Windows (very specific application) and MacOS, and NFS for my Linux hosts.

I’m kinda on the fence between them. Both work fine, but the devil is in the details.

permalink
report
parent
reply
1 point

Yeah, my personal experience is my Synology drive is easily available through Finder ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

Hint: :q!


Sister communities:

Community rules (click to expand)

1. Follow the site-wide rules
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Community stats

  • 8K

    Monthly active users

  • 1.5K

    Posts

  • 83K

    Comments