“OwnCloud “You don’t have permission to upload or create files here.”
Owncloud complaining that “You don’t have permissions to upload files here”
There are few likely reasons for this to happen because I have actually seen this issue a few times in differ situations. It is frustrating because OwnCloud might have had the permissions previously or it has access to the files through have 777 permissions. It is an issue because the desktop client will become out of sync with the server client. A huge issue since the point of OwnCloud is to keep these two in sync.
Most likely
You need to make www-data the owner and group of your OwnCloud directory.
cd /var/www/owncloud/data chmod -R www-data:www-data *
mysql -u root -p #assuming root is your mysql admin user
#enter mysql admin password
use owncloud; #assuming your owncloud-db ist called owncloud (which is the default)
select * from oc_storages;
#note your user’s “numeric_id”, let’s assume it’s 2
delete from oc_filecache where storage=2;
#done
Note: id of users
Comentarios
Publicar un comentario
Dime si la información de este blog te sirvio.