-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
Bug: skip_file in config does not override defaults #2914
Comments
@alantgpl One other note:
and
Please read https://github.com/abraunegg/onedrive/blob/master/docs/usage.md#compatibility-with-curl very carefully. Your choice of distribution has given you a broken curl version that contains issues (bugs) when performing HTTP/2 operations. If you build from master there are workarounds in place, and when a PR is developed for this, the PR will be based on master so you will get those work arounds until v2.5.3 is released - so in the meantime if you encounter any other issues - please ensure you read that URL very carefully. |
Thanks for this abraunegg. As far as I know, Ubuntu backports security patches to cURL: At least onedrive has been working fine for over a year with current config:
|
This has nothing to do with security - HTTP/2 bugs are not security issues that Ubuntu cares about. The way this application uses curl changed in v2.5.x amd exposes these flaws not fixed by Ubuntu. Choices are clear;
|
Just wanted to add that this is also the case on |
@alantgpl , @XenonSup First install all the require platform dependencies to build the client on your respective platforms. Please read https://github.com/abraunegg/onedrive/blob/master/docs/install.md#building-from-source---high-level-requirements and then follow correctly for your platform. Once this is done, to clone the PR to resolve your issue, you can use a script like the following:
This script will create a local folder called To run the PR, you need to run the client from the PR build directory:
To install the PR, you will need to perform sudo make install to install the PR version to your system. When running the PR, your version should be: |
Thank you for the quick fix!
BEFORE
AFTER
|
@alantgpl |
Sorry @abraunegg I've had no time to test this. I just reverted to previous onedrive version for now. Appreciate your and XenonSup's work on fixing and testing. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug
Noticed this change after upgrading onedrive from 2.4.23 to 2.5.2
Setting skip_file in config appends to defaults, it does not override the defaults.
Config file:
skip_file = ".~*|*.tmp"
--display-config:
Config option 'skip_file' = ~*|.~*|*.tmp|*.swp|*.partial|.~*|*.tmp
We specifically need to sync files starting with (~) tilde character, eg. ~testfile.txt
These files are now getting skipped on sync
Operating System Details
Client Installation Method
From Distribution Package
OneDrive Account Type
Personal
What is your OneDrive Application Version
onedrive v2.5.2-1+np1+1.1
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
Local folder, syncing up to a Sharepoint folder.
Steps to reproduce the behaviour
Set a value in config file for skip_file
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: