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.
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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.
Lmfao
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.
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.
What's the risk if done on local network?
Bad enterprise admins running companies without auth, MS getting the blame.
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.
Isn't MacOS based on a Unix kernel? Or did they evolve away from the core principle of treating everything as a file?
Macos kernel is a mix of freebsd and mach. It's half UNIX from BSD side.
It's currently growing up like a teen wanting to be business major cause they resent their artist dad for being an artist or a math teacher instead of working in finance.
"Oh what does my dad do for living? He is like that redhat linux, in a way."
Youβre correct. Also you can sync files across all devices, built in. The meme is a bit fart sniffy.
Whatβs the best way to do the file syncing?
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.
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.
This. Surely not the fastest way to get content from/to a remote computer, but it just works as soon as you enable sshd.
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.
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.
Love how this meme once again shows a Linux terminal command (that only works on specific distros) instead of what most users would want (which would work on almost any user-friendly distro), the button in the File Manager to add the network share to your left sidebar.
Somehow people still believe CLI commands are superior, meanwhile people who just want to get Linux-unrelated shit done (that isn't IT-related either) don't understand what exactly happens here and won't be able to permanently add the share to their file browser this way. Y'know, the way most people would use it in their daily workflow.
Where Apple fails in proper software integration, Linux fails in feature communication. Instead of properly integrating features (Apple) or providing/focusing on doing things intuitively and accessibly (Linux), both want the user to start thinking their way. And I fucking hate it, it prevents Linux from becoming more popular.
You can click your way to the same feature in Nautilus. No need to even see a terminal.
Yeah. You also can edit mounts via GUI tools instead of manipulating fstab. You can configure shares without opening smb.conf. You can do all these things, now if we would just communicate how user-friendly a Linux distro can be that would be nice. Right now it's still a wild goose chase to find instructions how to do things graphically and therefore accessibly and more safely, as every search first and foremost results in tons of (often time different) CLI commands. And there are too many in the community who counter with disabling or elitist bullshit, as if someone who isn't into RTFM for every click somehow can't be allowed to flip a switch. It's exhausting to fight against these sentiments, especially now where apparently a lot of people suddenly realize that Microsoft and Apple might not be the best idea to trust. People who just want use and trust their computer.
My biggest problem with Linux is that there are 8 ways to solve any problem. Some of these are distro specific, and all of them are THE definitive way to do it depending on who you ask. This comes up for me most when I want to make a change to something or do it again on a new machine.
For adding another network drive, for example I think oh it's called samba right and open the terminal and type in samba help. The response is: command not found do you want to install "samba-dc"? Okay so not samba. Oh that's right I edited a file. Now was it smb.conf? No wait maybe it was fstab.
It is getting easier as I get more familiar, but I have to wrap my head around every new thing that I want to do. It's no wonder people don't have the patience.
I think you mean "sudo pacman" not "apt", wow. fake linux (gendered diminutive).
Why nobody mentions samba?? That is the only thing I knew
Samba (and NFS) require you to set shares up on the server's side. With sshfs, you don't need anything but a ssh login to your server. Black magic
Also samba can't distinguish between /foo/ and /Foo/ which is a pretty small issue.... except when it isn't.
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.
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.
Might be something polkit-related? But yeah, you are right about it not working.
I have this problem with Android. Google has turned the filesystem into unusable garbage, so you're lucky, if you can launch a gallery app with a file path and it allows you to actually go through the images in that folder.
And of course, that's with a local file path, so the situation is completely hopeless when your images are on a network share. Unless the gallery app itself implements the network protocol, you're out of luck.
Wanna guess how often that happens? Yeah, it simply doesn't. Even if it's theoretically just a library, when you build it into the gallery app, that dev has to continually maintain and test it.
I love how android uses ext internally, but doesn't support ext drives natively.
Running both Linux and macOS on a daily basisβ¦ Theyβre both completely competent, and have basically the same amount of rough edges once you dig in and get your hands dirty. If you find one of them impossibly difficult, itβs a skill issue.
I just wish both these platforms would get some modern remote desktop support built in. Remoting into Mac/linux vs Windows desktops feels like dealing with tech from completely different time periods.
Thank god most of my Linux remote work is ssh on the cli.
My SO has a MacBook, and I thought no sweat, I'm sure I can just autofs or something onto the NAS so that the photo storage is always there. I was wrong. Why dies it have to be such a pain? So clunky, so unreliable.
Why dies it have to be such a pain?
Intentionally bad, if you buy Apple you're supposed to use iCloud and never, ever leave the ecosystem.