nextcloudpi icon indicating copy to clipboard operation
nextcloudpi copied to clipboard

Improve performance of the "fix permissions" step in ncp-update-nc

Open powerflo opened this issue 2 years ago • 3 comments

The "fix permissions" step is really slow when the nextcloud folder contains a lot of data. In a docker setup the data directory is in nextcloud/data so the folder can be really big. Even on my small test setup the "fix permissions" step took more than 20 minutes. Using "chmod -R ..." reduces the time to around 20 seconds.

Signed-off-by: Florian Wallner [email protected]

powerflo avatar Jan 07 '23 21:01 powerflo

This should really be merged, the fix permissions step took more than 30 minutes on my setup.

TobiGr avatar Jun 26 '24 19:06 TobiGr