From: hickert Date: Fri, 23 Nov 2007 15:06:02 +0000 (+0000) Subject: Added warning when adding new Kiosk profiles and we are not all to write to the kiosk... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=67cfdcaef9f17b7ff10b1ba5bdbfd4e7ace51a35;p=gosa.git Added warning when adding new Kiosk profiles and we are not all to write to the kiosk profile folder (/var/spool/kiosk) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7877 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_goKioskService.inc b/plugins/admin/systems/class_goKioskService.inc index 5b87b4e83..83f2624fa 100644 --- a/plugins/admin/systems/class_goKioskService.inc +++ b/plugins/admin/systems/class_goKioskService.inc @@ -90,6 +90,9 @@ class goKioskService extends goService{ 'exists' => TRUE); $this->gotoKioskProfiles[] = $tmp; } + if(!is_writeable($this->baseDir)){ + print_red(sprintf(_("Can't save new kiosk profiles, possibly permission denied for folder: '%s'."),$this->baseDir)); + } } $only_once = true;