Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration option "autoAcceptFolders" for devices isn't documented #442

Open
dhs-rec opened this issue Mar 6, 2019 · 4 comments
Open

Configuration option "autoAcceptFolders" for devices isn't documented #442

dhs-rec opened this issue Mar 6, 2019 · 4 comments

Comments

@dhs-rec
Copy link

@dhs-rec dhs-rec commented Mar 6, 2019

Reading the configuration via REST API call (and also in the UI), I see in the output that each device has an "autoAcceptFolders" option, set to false. However, I couldn't find it in the documentation.

So what exactly happens if I set this to true?

  • Where are automatically accepted folders stored?
  • What are their names?
@AudriusButkevicius
Copy link
Member

@AudriusButkevicius AudriusButkevicius commented Mar 6, 2019

They are stored at the default path, and name I think is folder name advertised by remote peer, if that is taken then its folder name plus folder id.

@AudriusButkevicius
Copy link
Member

@AudriusButkevicius AudriusButkevicius commented Mar 6, 2019

Feel free to update the docs :)

@dhs-rec
Copy link
Author

@dhs-rec dhs-rec commented Mar 7, 2019

Well, if you only "think" what it does, how should I know? Do you really want me to update the docs with some half-baked knowledge?

@AudriusButkevicius
Copy link
Member

@AudriusButkevicius AudriusButkevicius commented Mar 7, 2019

For the directory name, it tries folder label, if that exists already on the filesystem it uses the id, if the id exists as well, it doesn't do anything and just logs that it failed.

If you already have a syncthing folder with that id, it just shares it, oppose to creating a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.