gabled-bravado-dell Posted February 21, 2016 Report Share Posted February 21, 2016 I have followed all instructions http://blog.bittorrent.com/2015/09/04/sync-wd-raspberry-pi-2/ for software install and formatting http://community.wd.com/wstd/attachments/wstd/wdlabs/26/1/Partition%20Format%20Mount%20Instructions_v02.pdf I set my mount location for /mnt/data just like the WD instructions said to do. BT Sync says "Your config file prevents you from accessing this directory." when I go to choose the /mnt/data folder as my sync folder. Any thoughts on this or what I can do specifically to get BitTorrent Sync access to the folder? Many thanks in advance! Quote Link to comment Share on other sites More sharing options...
iswrong Posted February 21, 2016 Report Share Posted February 21, 2016 Where do you get this error message? Did you to set the directory_root configuration option in sync.conf to /mnt/data? Quote Link to comment Share on other sites More sharing options...
gabled-bravado-dell Posted February 21, 2016 Author Report Share Posted February 21, 2016 (edited) I get the error in the Web GUI when trying to set the default sync folder (under preferences) or when I try to change the sync folder to /mnt/data. It works fine as long as I use a folder inside the user directory. I have a 32GB micro SD card so I have some breathing room but I would really like to use my 1TB WD PI Drive. Do I have to edit the sync.conf file to set that? I feel like this is more a permission problem for BTS accessing a folder outside the user directory. Reading through all of the articles, I do not remember this coming up. I am not Linux Guru but I am not totally foreign to it either. Any help would be great and much appreciated. Edited February 21, 2016 by gabled-bravado-dell Quote Link to comment Share on other sites More sharing options...
gabled-bravado-dell Posted February 21, 2016 Author Report Share Posted February 21, 2016 (edited) This may give a better view. It does appear a config file is keeping me from accessing the folder. What file and how do I need to change this? Edited February 21, 2016 by gabled-bravado-dell Quote Link to comment Share on other sites More sharing options...
RomanZ Posted February 22, 2016 Report Share Posted February 22, 2016 @gabled-bravado-dell The issue is in the config file, /etc/btsync/config.json. All you need to do is to edit it as @iswrong advised in his post. Alternatively, you can just remove the outdated DEB package that you get in PiWD article and install a new one we've published recently. Quote Link to comment Share on other sites More sharing options...
gabled-bravado-dell Posted February 22, 2016 Author Report Share Posted February 22, 2016 Thanks! I did not know where to find the file. You gave me the missing piece. Thanks to @iswrong and @RomanZ. Really appreciate it. Quote Link to comment Share on other sites More sharing options...
sasapuksic Posted December 29, 2016 Report Share Posted December 29, 2016 On 2/22/2016 at 8:26 PM, RomanZ said: @gabled-bravado-dell The issue is in the config file, /etc/btsync/config.json. All you need to do is to edit it as @iswrong advised in his post. Alternatively, you can just remove the outdated DEB package that you get in PiWD article and install a new one we've published recently. Hello, I am having exactly the same problem here. I edited config.json as @iswrong suggested, with path to my USBHDD location. Unfortunately I still get the same "Your config file prevents you from accessing this directory" error. My config.json looks like this now: { "listening_port" : 0, "storage_path" : "/home/pi/data/.syncsystem", "pid_file" : "/home/pi/data/.syncsystem/btsync.pid", "use_upnp" : true, "download_limit" : 0, "upload_limit" : 0, "delete_folder_from_disk" : true, "folder_defaults.delete_to_trash" : true, "webui" : { "listen" : "0.0.0.0:8888", "directory_root" : "/media/pi/USBHDD/Resilio Sync" }, "vendor" : "PiDrive", "display_new_version": false } I am runing this on Raspberry Pi 3 - Rasberian OS - WD My Cloud formated as ext4. Any idea? Any help would be really appreciated. Thank you! Quote Link to comment Share on other sites More sharing options...
Helen Posted December 30, 2016 Report Share Posted December 30, 2016 12 hours ago, sasapuksic said: "directory_root" : "/media/pi/USBHDD/Resilio Sync" This is your directory root. This line means that you won't be able to add folders located above this directory. What directory you're trying to add? Quote Link to comment Share on other sites More sharing options...
sasapuksic Posted December 30, 2016 Report Share Posted December 30, 2016 6 hours ago, Helen said: This is your directory root. This line means that you won't be able to add folders located above this directory. What directory you're trying to add? Thank you, Helen, for your responce! I have managed to fix the problem. All I had to do is restart sync service. Sorry! Quote Link to comment Share on other sites More sharing options...
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.