Permission issue with resilio-sync

Assists Greatly with Development Costs

no-replyHalepr

Blitz 3rd Class
Original poster
18
2
i'm running PG version 8.5.8. i've forked the Apps-Community and edited the resilio.yml file to add a /unionfs volume using the following code.
JavaScript:
 - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/opt/appdata/{{pgrole}}/config:/config'
          - '/opt/appdata/{{pgrole}}/sync:/sync'
          - '/opt/appdata/{{pgrole}}/downloads:/downloads'
          - '/mnt:/mnt'
          - '/mnt/unionfs:/unionfs/'
after installing resilio from the fork and trying to add the folder "/unionfs" i get a permission error. Anyone figured this out that can tell me what i'm doing wrong?
 

MrDoob

Administrator
Project Manager
Donor
1,459
420
Same path

Bash:
          - '/mnt:/mnt'
          - '/mnt/unionfs:/unionfs/'
grep "1000" /etc/passwd | cut -d: -f1 | awk '{print $1}')

Do you add a user with UID 1000 *?*
 

Admin9705

Administrator
Project Manager
5,819
2,008
  • Like
Reactions: no-replyHalepr
Assists Greatly with Development Costs

no-replyHalepr

Blitz 3rd Class
Original poster
18
2
Found my issue. I needed to add "/mnt/unionfs" to the "dir_whitelist" array in the sync.conf file for resilio. Once i added that and restarted the container the folders where able to be added with no issue.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads


Development Donations

 

Trending