this post was submitted on 12 Apr 2024
1 points (100.0% liked)

Linux

45479 readers
1246 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi everyone !

Right now I can't decide wich one is the most versatile and fit my personal needs, so I'm looking into your personal experience with each one of them, if you mind sharing your experience.

It's mostly for secure shared volumes containing ebooks and media storage/files on my home network. Adding some security into the mix even tough I actually don't need it (mostly for learning process).

More precisely how difficult is the NFS configuration with kerberos? Is it actually useful? Never used kerberos and have no idea how it works, so it's a very much new tech on my side.

I would really apreciate some indepth personal experience and why you would considere one over another !

Thank you !

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 months ago (2 children)

If you're going to have any non-linux clients, samba will be an order of magnitude easier. MacOS handles nfs pretty well, but Windows just wants SMB

[–] [email protected] 1 points 2 months ago

You don't have to choose just one though. It's perfectly ok to share a directory via Samba for Windows clients and share the same directory again with NFS for Linux clients.

[–] [email protected] 1 points 2 months ago

macOS switched from AFS to samba for file sharing & time machine backups a while ago; it's been a while since I had first-hand experience setting up a Mac, but based on that fact I'm pretty sure samba is more straightforward to use. ... it annoyingly mangles unix file ownership, & permissions though, as mentioned above in https://lemmy.ml/comment/10204431

[–] [email protected] 1 points 2 months ago

NFS is a terrific pain in the ass

[–] [email protected] 0 points 2 months ago (1 children)
  • NFS : historically insecure by default. Don't know about Kerberos making it secure but Kerberos does not look easy to configure.

  • sshfs : probably most easy to setup. Can be confusing with ownership and permissions sometimes.

  • Samba : solid but has a learning curve, even for a simple setup. For example, for a standalone Samba server omitting the Active Directory part, you need to know that in order to create a Samba user you must first have created a local user with the same username.

https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server

[–] [email protected] 0 points 2 months ago (1 children)

sshfs : probably most easy to setup. Can be confusing with ownership and permissions sometimes.

And the worst option if you have Windows clients.

[–] [email protected] 1 points 2 months ago

I am wondering if someone can recommend any libre sshfs client for windows7+ preferably that could be installed as a portable app ?