ich habe hier eine Software, nennen wir Sie PhpStorm. Und ich wollte den PHP-Interpreter vom Server nehmen, wo auch KH drauf läuft. Nun möchte sich PhpStorm aber einen helper-Ordner erstellen. Den Pfad hierfür nimmt sich PhpStorm aus dem Home-Ordner der SFTP-Connection. In meinem Fall: /home/users/*meinuser*/. Ist ja auch alles richtig.
Leider kann der jeweilige User aber genau in diesem (seinem HOME-Verzeichnis) niemals schreiben, da User/Gruppe "root" ist. Erst in files/www etc kann der eigentliche User schreiben.
Gibt es einen Grund dafür? PhpStorm kann ich (noch) nicht umstimmen, habe da ein Issue erstellt. Aber in der "normalen" Linuxwelt kann der User in seinem HOME (~) schreiben.
KH 20.0 ist im Einsatz

Danke und Gruß,
Code: Select all
root@s1:~# cd /home
root@s1:/home# ls -la
total 16
drwxr-xr-x 4 root root 4096 Feb 24 20:57 .
drwxr-xr-x 24 root root 4096 Feb 29 03:00 ..
drwxr-x--- 5 keyhelp www-data 4096 Feb 24 20:44 keyhelp
drwxr-xr-x 13 root root 4096 Mar 6 19:59 users
root@s1:/home# cd users/
root@s1:/home/users# ls -la
total 52
drwxr-xr-x 13 root root 4096 Mar 6 19:59 .
drwxr-xr-x 4 root root 4096 Feb 24 20:57 ..
drwxr-xr-x 8 root root 4096 Feb 26 18:23 abima_dev
drwxr-xr-x 8 root root 4096 Feb 26 18:22 abima_prod
drwxr-xr-x 8 root root 4096 Feb 26 18:23 abima_test
drwxr-xr-x 8 root root 4096 Feb 26 18:15 cloud
drwxr-xr-x 8 root root 4096 Feb 24 20:57 kluthr
drwxr-xr-x 8 root root 4096 Feb 27 16:14 lgchem
drwxr-xr-x 8 root root 4096 Feb 28 19:49 mooranger
drwxr-xr-x 8 root root 4096 Mar 6 16:18 multimatic_dev
drwxr-xr-x 8 root root 4096 Mar 6 16:18 multimatic_prod
drwxr-xr-x 8 root root 4096 Feb 27 16:18 stats
drwxr-xr-x 8 root root 4096 Feb 28 19:42 vag-flashinfo
root@s1:/home/users# cd multimatic_prod/
root@s1:/home/users/multimatic_prod# ls -la
total 44
drwxr-xr-x 8 root root 4096 Mar 6 16:18 .
drwxr-xr-x 13 root root 4096 Mar 6 19:59 ..
-rw-r--r-- 1 multimatic_prod multimatic_prod 220 Apr 4 2018 .bash_logout
-rw-r--r-- 1 multimatic_prod multimatic_prod 3771 Apr 4 2018 .bashrc
drwxr-x--- 2 multimatic_prod www-data 4096 Mar 6 16:18 cgi-bin
drwxr-x--- 2 multimatic_prod www-data 4096 Mar 6 16:18 files
dr-xr-x--- 2 multimatic_prod www-data 4096 Mar 6 16:22 logs
-rw-r--r-- 1 multimatic_prod multimatic_prod 807 Apr 4 2018 .profile
drwx------ 2 multimatic_prod multimatic_prod 4096 Mar 6 16:18 .ssh
drwxr-x--- 2 multimatic_prod www-data 4096 Mar 6 16:18 tmp
drwxr-x--- 2 multimatic_prod www-data 4096 Mar 6 16:18 www