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

Check for write permisions on data directory #20

Open
marcovanbeek opened this issue Nov 21, 2018 · 0 comments
Open

Check for write permisions on data directory #20

marcovanbeek opened this issue Nov 21, 2018 · 0 comments

Comments

@marcovanbeek
Copy link

In server.php there is a line that says:
$lockBackend = new DAV\Locks\Backend\File('data/locks.dat');
The function this calls does not check if the file/directory is writeable, and with Windows10 clients this produces the "file too big" error.

Checking that the data directory is writeable at this point would help this issue to be better logged.

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

No branches or pull requests

1 participant