Folder permissons "data/user/files"

Hey there,

somehow the folder permissions on my installation is wrong. They seem to be 777. How can I set them to the correct value?

…/beforedatefolder/ then chmod -R xxx where xxx is the permission value…

This is 101 Linux… I you don’t master simple Linux commands maybe you shouldn’t set up a NC server by yourself, as it might simply be a weak unsecured server …

It is harsh from me, but it’s a fact


You can change permissions with the following commands.

browse to your installation directory ex. cd /var/www/nextcloud
then sudo find . -type f -print0 | sudo xargs -0 chmod 0640 for files
and sudo find . -type d -print0 | sudo xargs -0 chmod 0750 for directories

1 Like