Change permissions to 0770

Hi, im new to nextcloud and i was trying to set an external hard drive as main storage, but when i entered nextcloud again it showed an error asking me to change the permissions of a directory to 0770 and i dont know how to do it.

Im in ubuntu server 22.04

You’ll want to learn how Linux permissions work from the command line.

You can check your external drive permissions with

ls -la

And use chmod to set specific permissions.

Sorry, but to change permissions you will need the
chmod 0770 <filename>
chmod -R 0770 <foldername>

Your instruction sets owner/group permissions, in most cases “www-data” (see config.php, where owner and group are set)

this might be of use