Solution for owncloud external drive permission error

Error :

  • Can’t create data directory (/mnt/data/owncloud/data/)

You can usually fix this by giving the webserver write access to the ownCloud directory ‘/var/www/html/owncloud’ (in a terminal, use the command ‘chown -R www-data:www-data /path/to/your/owncloud/install/data’

 

 

Check SELINUX

 

Change enforcing to disabled.

 

 

.