Hallo Jörg,

>> Oder es handelt sich um ein Rechteproblem im Unterverze4ichnis /var/www/
>> Da die Seiten im Portfolio aber nach anklicken des Bearbeiten Buttons
>> wieder sichtbar sind, hab ich das Rechteproblem wieder etwas nach hinten
>> verschoben.
> Wenn ich install.php aufrufe, bekomme ich viele Meldungen der Art
> |/usr/share/linuxmuster-portfolio/data/pages| is not writable by
> DokuWiki. You need to fix the permission settings of this directory!
> Allerdings liegt dieser Ordner auch gar nicht in diesem Verzeichnis
> sondern unter /home ..

.. dem gehen wir mal nach.
Da fehlt wohl ein symlink oder die Rechte stimmen irgendwo nicht.

Bei mir:
--------------
ls -al /usr/share/linuxmuster-portfolio/
insgesamt 96
drwxr-xr-x   5 root root  4096 Apr 10  2013 .
drwxr-xr-x 188 root root  4096 Feb 16  2015 ..
-rw-r--r--   1 root root 18092 Nov  5  2012 COPYING
drwxr-xr-x   2 root root  4096 Apr 10  2013 data
-rw-r--r--   1 root root  2286 Nov  5  2012 doku.php
-rw-r--r--   1 root root 18316 Nov  5  2012 feed.php
lrwxrwxrwx   1 root root    35 Okt 31  2013 .htaccess ->
/etc/linuxmuster-portfolio/htaccess
drwxr-xr-x   6 root root  4096 Apr 10  2013 inc
-rw-r--r--   1 root root   182 Nov  5  2012 index.php
-rw-r--r--   1 root root 18666 Nov  5  2012 install.php
drwxr-xr-x   8 root root  4096 Apr 10  2013 lib
-rw-r--r--   1 root root   306 Nov  5  2012 README
-rw-r--r--   1 root root    25 Nov  5  2012 VERSION
-----------------
und
-----------------
ls -al /usr/share/linuxmuster-portfolio/data/
insgesamt 20
drwxr-xr-x 2 root root 4096 Apr 10  2013 .
drwxr-xr-x 5 root root 4096 Apr 10  2013 ..
-rw-r--r-- 1 root root   31 Sep 25  2012 .htaccess
-rw-r--r-- 1 root root 7917 Sep 25  2012 security.png
-------------------

Aber in der /etc/linuxmuster-portfolio/local.php steht in Zeile 48:

$conf['savedir'] = '/home/linuxmuster-portfolio/data/';

ls -al /home/linuxmuster-portfolio/
insgesamt 16
drwxr-xr-x  4 root     root     4096 Dez 28  2011 .
drwxr-xr-x 13 root     root     4096 Sep 13  2015 ..
drwxr-xr-x  2 root     root     4096 Mai 21  2013 bin
drwxr-xr-x 12 www-data www-data 4096 Mai 21  2013 data

ls -al /home/linuxmuster-portfolio/data/
insgesamt 64
drwxr-xr-x 12 www-data www-data 4096 Mai 21  2013 .
drwxr-xr-x  4 root     root     4096 Dez 28  2011 ..
drwxr-xr-x  5 www-data www-data 4096 Mai 21  2013 attic
drwxr-xr-x 19 www-data www-data 4096 Okt 10  2014 cache
-rw-r--r--  1 www-data www-data   15 Sep 25  2012 _dummy
-rw-r--r--  1 www-data www-data   31 Sep 25  2012 .htaccess
drwxr-xr-x  2 www-data www-data 4096 Mai  8  2015 index
drwxr-xr-x  2 www-data www-data 4096 Okt 30  2015 locks
drwxr-xr-x  6 www-data www-data 4096 Okt  4  2010 media
drwxr-xr-x  2 www-data www-data 4096 Mai 21  2013 media_attic
drwxr-xr-x  3 www-data www-data 4096 Mai  5  2015 media_meta
drwxr-xr-x  9 www-data www-data 4096 Mai 18  2015 meta
drwxr-xr-x 10 www-data www-data 4096 Jan 31  2011 pages
-rw-r--r--  1 www-data www-data 7917 Sep 25  2012 security.png
drwxr-xr-x  3 www-data www-data 4096 Mai  5  2015 tmp


> In der Befehls-History zur Zeit des Beginns des Problems finde ich
> übrigens einen Befehl, den ich nicht kenne:
>  ./sophomorix-root-preexec
> Was macht der denn?

find hat ihn gefunden:
find / -name sophomorix-root-preexec
/etc/linuxmuster/samba/root-preexec.d/sophomorix-root-preexec

Bei mir steht nur auskommentiertes in der Datei:
------------------
#!/bin/bash
# sophomorix-bind --quick --login --host $HOSTNAME --user $USERNAME
--homedir $HOMEDIR
-------------------

Viele Grüße

Holger


_______________________________________________
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

Antwort per Email an