syncthing_ynh icon indicating copy to clipboard operation
syncthing_ynh copied to clipboard

feature request: improve documentation on using foulders (safely) outside /home/yunohost.app/syncthing/

Open ahcheing opened this issue 11 months ago • 1 comments

I setup syncthing on my server, and as a user on that server I want to share a folder that I made in /home/yunouser/Documents/backup/ via syncthing. but it lacks permissions to that directory. how do I give syncthing permission to share the foulder in such a way that as a user I dont notice anything different then normal? (sorry if that did not make sense I can explain more if more clarifification need)

If on my laptop I share a foulder successfully via synthing to the yunohost server, how would yunouser on the server gain access to that foulder?

In regular syncthing on linux / windows both of those things are easy, but in yunohost I need to muck round with the permissions, which I am frankly unqualified to do absent some good instructions. I am not a sysadmin, I dont work in tech.

I know how to use chown and chgrp but I dont know how to add a user to a group (or rather, in the moment I can never remember if its usermod -aG user group or usermod -ag group user and if I screw that command up I've accidentally given a user a whole bunch of wrong permissions so I have to google / reference my notes every time I use it) and chmod numbersIcantremember foulder is too complicated for me since the numbers dont correspond easily with the output of ls -la.

All that is to say, since using syncthing in yunohost is pretty different then how its used normally, I think the documentation could use some updating.

If somone where to provide a simple explination in reply to this post for the two use cases I outlined, I could propably do pull request updating the readme with some formatted instructions.

(sorry bout spelling drafted this in a bit of a rush bout to go on vacation and all sorts of fun last minute things cropping up)

ahcheing avatar Jul 24 '23 12:07 ahcheing