Michel Amberg Posted January 2, 2019 Share Posted January 2, 2019 (edited) 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, 2019 by Michel Amberg Quote Link to comment
Michel Amberg Posted January 2, 2019 Author Share Posted January 2, 2019 This is my container settings: Quote Link to comment
Squid Posted January 3, 2019 Share Posted January 3, 2019 PGID and PUID only work if the container itself supports it. Already an issue about it here https://github.com/ipsingh06/seedsync/issues/10 Quote Link to comment
Michel Amberg Posted January 3, 2019 Author Share Posted January 3, 2019 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. Quote Link to comment
Squid Posted January 3, 2019 Share Posted January 3, 2019 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. Quote Link to comment
Michel Amberg Posted January 3, 2019 Author Share Posted January 3, 2019 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. Quote Link to comment
Squid Posted January 3, 2019 Share Posted January 3, 2019 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 Quote Link to comment
Michel Amberg Posted January 3, 2019 Author Share Posted January 3, 2019 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. Quote Link to comment
radfx Posted February 2, 2019 Share Posted February 2, 2019 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. Quote Link to comment
trurl Posted February 2, 2019 Share Posted February 2, 2019 Move the slider at upper right to from Basic View to Advanced View Quote Link to comment
radfx Posted February 2, 2019 Share Posted February 2, 2019 (edited) 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, 2019 by radfx Quote Link to comment
Squid Posted February 2, 2019 Share Posted February 2, 2019 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 Quote Link to comment
radfx Posted February 3, 2019 Share Posted February 3, 2019 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 Quote Link to comment
trurl Posted February 3, 2019 Share Posted February 3, 2019 That last line of blue text at the bottom of your screenshot. Click on it. Quote Link to comment
radfx Posted February 3, 2019 Share Posted February 3, 2019 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.