-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
error creating templates folder when root folder is read only #25787
Comments
Okay, I've just debugged that further and it seems related to the fact that my root directory is read only. |
BTW: if the root folder is read only, I am also not able to create a new file from template also if the templates folder was created successfully before (by making it writeable for the moment of creating it). I get this error in this case: (the error message states the the folder doesn't has create permission, but only the root folder is read only and not the external storage folder that I am trying to create a new file from template in)
|
I am not familar with the Nextcloud codebase but it sounds to me like the root path for a certain user is always checked when creating a new file from template or setting up a templates folder which results in no create rights although the folder that I am trying to create the new file/folder in is writeable. => it bugs out. |
cc @nextcloud/server-triage |
…25787) Signed-off-by: Julius Härtl <jus@bitgrid.net>
@szaimen In relation to nextcloud/android#8010 I've added another commit to also handle the template directory creation in #26396, testing is very welcome :) |
…25787) Signed-off-by: Julius Härtl <jus@bitgrid.net>
…25787) Signed-off-by: Julius Härtl <jus@bitgrid.net>
How to use GitHub
Steps to reproduce
/
.Expected behaviour
It should create the templates folder
Actual behaviour
It doesn't create the templates folder and just bugs out with two log messages inside the nextcloud logs:
Server configuration
Operating system:
Ubuntu 20.04
Web server:
Apache
Database:
Postgresql 12
PHP version:
7.4-fpm
Nextcloud version:
NC 20.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
updated from 20.0.7
Where did you install Nextcloud from:
Nextcloud VM
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
local
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser: Chromium 88 based browser
Operating system: Windows 10
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: