this post was submitted on 25 Apr 2025
9 points (100.0% liked)

Self-hosting

3359 readers
1 users here now

Hosting your own services. Preferably at home and on low-power or shared hardware.

Also check out:

founded 3 years ago
MODERATORS
 

There is a periodic meeting of linux users in my area where everyone brings laptops and connects to a LAN. Just wondering if I want to share files with them, what are decent options? Is FTP still the best option or has anything more interesting emerged in the past couple decades? Guess I would not want to maintain a webpage so web servers are nixed. It’s mainly so ppl can fetch linux ISO images and perhaps upload what they have as well.

(update) options on the table:

  • ProFTPd
  • OpenSSH SFTP server (built into SSHd)
  • SAMBA
  • webDAV file server - maybe worth a look, if other options don’t pan out; but I imagine it most likely does not support users uploading

I started looking at OpenSSH but it’s very basic. I can specify a chroot dir that everyone lands in, but it’s impossible to give users write permission in that directory. So there must be a subdir with write perms. Seems a bit hokey.. forces people to chdir right away. I think ProFTPd won’t have that limitation.

you are viewing a single comment's thread
view the rest of the comments
[–] ALERT@sh.itjust.works 2 points 1 month ago (2 children)
[–] evenwicht 1 points 3 weeks ago (1 children)

Two possible issues w/that w.r.t my use case:

  • not in official Debian repos -- not a show stopper but definately points against it for installation and maintenance burdons across migrations
  • apparently read-only access for users. This is fine in simple cases where I would just be sharing with others, but a complete solution enables users to share with others on the same server by uploading. Otherwise everyone with a file to share must run rejetto hfs.

Nonetheless, I appreciate the suggestion. It could be handy in some situations.

[–] ALERT@sh.itjust.works 2 points 3 weeks ago

I didn't understand the point number two. You can set up whatever access you want for the users. If the option you want does not exist - there is a plugin for it, I'm sure.