bt-sync / sync-docker

Resilio Sync docker image
https://www.resilio.com
178 stars 60 forks source link

umask settings #1

Closed legoheld closed 7 years ago

legoheld commented 7 years ago

Really nice to have now an office docker container.

In my setup I have pydio as a frontend to share files over the web. And resilio to share between employees. The data is in a NFS folder that I mount into the resilio container. Because pydio runs as a different user I run into permission problems. My way to solve this was to set the umask for new created files like this: https://github.com/legoheld/btsync-docker/blob/master/run_sync#L3

Would be nice to have that option on the official container to. But maybe there is another workaround for that.

legoheld commented 7 years ago

Found a better way to handle this with correct user mapping.