关于NEXTCLOUD数据存放位置

webshow 2019-11-15 2639

安装NEXTCLOUD程序后,数据的存放位置变更。原先是在网站的根目录下面。但为了考虑文件的安全性,移动到/HOME/DATA目录下在, 权限已经改成了WWW权限,。但在登陆网站的时候出现

已经尝试过将用户更新为ROOT,权限更新为0777也是不行,变更为0770也无效。不知道是何解。

最新回复 (2)
  • webshow 2019-11-15
    引用 2
    In an nextCloud server if you change the permissions of an external drive to give r/w access (in my case chgrp www-data) and nextCloud isn’t updating those permissions you can do this. In your MySQL database find your external storage in oc_storages and make note of the numeric id. Then run this query “Delete from oc_filecache where storage = numeric_id” replacing numeric_id with the one you found in the oc_storages table.
  • webshow 2019-11-15
    引用 3
    https://blankstechblog.com/2014/09/08/owncloud-quick-tip-for-admins/
返回
发新帖