January 2, 20197 yr Hello unraid forums I am using this docker container to sync files from a FTP site: https://github.com/ipsingh06/seedsync It runs great and I have set it up so it works with persistent settings and such. The only problem I have is that files that are created are owned by root. I know this is the default behavior but how do I change it? I want to be able to move files around on all machines connected to that share but that is not allowed while owned by root. Edited January 2, 20197 yr by Michel Amberg
January 3, 20197 yr PGID and PUID only work if the container itself supports it. Already an issue about it here https://github.com/ipsingh06/seedsync/issues/10
January 3, 20197 yr Author Yea it seems to not support it. I did manage to change which user it runs under but then I get an error because it is not able to execute a python startup script.
January 3, 20197 yr Even with root owning the files, that's not a problem so long as permissions are correct. If you can adjust the permissions of the written files within the container's settings to be 0777 you won't have any problems.
January 3, 20197 yr Author 1 hour ago, Squid said: Even with root owning the files, that's not a problem so long as permissions are correct. If you can adjust the permissions of the written files within the container's settings to be 0777 you won't have any problems. hmm I don't know how to do that I am pretty new to docker have some linux background.
January 3, 20197 yr Many applications have on option in their GUI to set permissions on written files. Set it to 0777 if you can. If that doesn't work, then you'd have to run this on a schedule or on demand chmod 0777 -R /mnt/user/nameOfShare
January 3, 20197 yr Author I did create a cronjob that does this for me every minute. This seems like an ugly walk around though not an actual fix. When I change user it is the SCP failing not python script.
February 2, 20197 yr On 1/3/2019 at 12:58 AM, Michel Amberg said: This is my container settings: I have recently started setting up my unRAID server and was looking for a service to do just this. apparently the developer had (about 19 hours ago) updated the system to resolve the user permissions issue listed. but i would love some help if i may, when i try to add this i'm not prompted with any of the web-UI or sync setting options and am quite puzzled as to what i'm doing wrong.
February 2, 20197 yr Community Expert Move the slider at upper right to from Basic View to Advanced View
February 2, 20197 yr 29 minutes ago, trurl said: Move the slider at upper right to from Basic View to Advanced View Thanks for the reply, im afraid however advanced opens up manual control of the icon and forced port but the parameters do not match the required 'config' and 'download' options unless you may know what the 'extra parameters and post args represent? Edited February 2, 20197 yr by radfx
February 2, 20197 yr Since this is a container which you've added (via CA and its dockerHub searches instead of one of it's "native" apps), you're going to have to populate all of the paths, environment variables, ports, etc according to whatever the dockerHub page suggests for you to do. See here: https://forums.unraid.net/topic/57181-real-docker-faq/?page=2&tab=comments#comment-566095
February 3, 20197 yr Thanks for the reply, I understand that I have to give the software the parameters it wants for it to work, my issue in even the example you gave linked is that I’m not getting an option field to enter those. I’m getting (with advanced on) webui and parameters. no fields for config path , no host path or host key fields these are the instructions from the developer attached but if you do part my screenshot to OP’s he has a lot more fields to fill out i have tried going via terminal and typing in the command as listed (bypassing the store/docker repository completely) but I may not have had the path set correctly. My issue is not being given the path options at setup (as seen in the images)to set in the first place
February 3, 20197 yr Community Expert That last line of blue text at the bottom of your screenshot. Click on it.
February 3, 20197 yr 1 minute ago, trurl said: That last line of blue text at the bottom of your screenshot. Click on it. And from there I can force ‘config’ and ‘downloads’ path? will try, cheers.
Archived
This topic is now archived and is closed to further replies.