Different HOME folder with Magento2.3 sites Ubuntu 18.04.5 ISPConfig 3.2.2 php7.3

Discussion in 'Installation/Configuration' started by McLure, Mar 5, 2021.

  1. McLure

    McLure Member

    I have a home folder permission thing I do not understand.
    I expect that when I log in at .../client1/web111/ as root or as web111 user I can make a missing HOME folder.
    mkdir: cannot create directory ‘home’: Operation not permitted - in 3 Magento sites..
    In :: /etc/passwd
    web71:x:5028:5007::/var/www/clients/client1/web71:/bin/false
    c13xxxxx:x:5014:5007::/var/www/clients/client1/web111/home/c13xxxxx:/bin/bash
    c14xxxxx:x:5004:5005::/var/www/clients/client5/web79/home/c14xxxxx:/bin/bash
    c15xxxxx:x:5023:5007::/var/www/clients/client1/web62/home/c15xxxxx:/bin/bash

    web60:x:5029:5011::/var/www/clients/client9/web60:/bin/false
    I need to make a HOME and TMP folder inside the .../webXX/ folder. Where do I start?
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    The webxx/ folder have the immutable attribute set, so "chattr -i webxx" first, add your folder, then "chattr +i webxx" when done. There is already a webxx/private/ directory setup for those types of uses, I don't know how easily magento can be configured for that.
     
    McLure likes this.
  3. McLure

    McLure Member

    Perfect. It saves my weekend.. Thanx!
     

Share This Page