2015-10-30 203 views
-1

我試圖建立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.設置owncloud +流浪漢

我試過,沒有運氣運行sudo chmod 0770 /var/www/core/data/遇到這個問題,登錄後。我不確定這是否與我的流浪文件有關,像這樣config.vm.synced_folder ".", "/var/www", :owner => "www-data",也許某種conflit,因爲我的共享文件夾是/ var/www?

有什麼想法?

回答

0

添加此行並將其固定爲我

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