设置owncloud + vagrant

时间:2015-10-30 18:43:58

标签: ubuntu vagrant vagrantfile owncloud

我正在尝试在流浪汉机器上设置owncloud,我在第一次登录后遇到此问题Data directory (/var/www/core/data) is readable by other users. Please change the permissions to 0770 so that the directory cannot be listed by other users.

我试着运行sudo chmod 0770 /var/www/core/data/没有运气。我不确定这是否与我的流浪文件有关,就像这个config.vm.synced_folder ".", "/var/www", :owner => "www-data",可能是某种混淆,因为我的共享文件夹是/ var / www?

任何想法?

1 个答案:

答案 0 :(得分:0)

我添加了这一行并为我修复了

config.vm.synced_folder ".", "/var/www", owner: "www-data", group: "www-data", mount_options: ["dmode=770,fmode=770"]