summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2011-10-22 19:39:05 +0200
committerFrank Karlitschek <karlitschek@kde.org>2011-10-22 19:39:05 +0200
commit3acea2f574fc5f243a3d73e05837a7fb72ec95e6 (patch)
tree764669b620e8b5a1552f1918b59a465f57542deb /lib/util.php
parent045c42aa99d3f7ad45434ab371828853f3378968 (diff)
downloadnextcloud-server-3acea2f574fc5f243a3d73e05837a7fb72ec95e6.tar.gz
nextcloud-server-3acea2f574fc5f243a3d73e05837a7fb72ec95e6.zip
change the error hint from suggesting to change the owner of a directory to changing the permissions. changing the owner of a director is not possible via ftp.
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 90cc1f6123a..14313569a1d 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -24,7 +24,7 @@ class OC_Util {
$success=@mkdir($CONFIG_DATADIRECTORY_ROOT);
if(!$success) {
$tmpl = new OC_Template( '', 'error', 'guest' );
- $tmpl->assign('errors',array(1=>array('error'=>"Can't create data directory (".$CONFIG_DATADIRECTORY_ROOT.")",'hint'=>"You can usually fix this by setting the owner of '".OC::$SERVERROOT."' to the user that the web server uses (".OC_Util::checkWebserverUser().")")));
+ $tmpl->assign('errors',array(1=>array('error'=>"Can't create data directory (".$CONFIG_DATADIRECTORY_ROOT.")",'hint'=>"You can usually fix this by giving the webserver write access to the ownCloud directory '".OC::$SERVERROOT."' ")));
$tmpl->printPage();
exit;
}
@@ -183,7 +183,7 @@ class OC_Util {
$serverUser=OC_Util::checkWebserverUser();
//common hint for all file permissons error messages
- $permissionsHint="Permissions can usually be fixed by setting the owner of the file or directory to the user the web server runs as ($serverUser)";
+ $permissionsHint="Permissions can usually be fixed by giving the webserver write access to the ownCloud directory";
//check for correct file permissions
if(!stristr(PHP_OS, 'WIN')){