Add new directory in /var/www/clients/<client_id>/<web_id>/

Discussion in 'General' started by sitte, Oct 8, 2024.

Tags:
  1. sitte

    sitte New Member

    How to unlock /var/www/clients/<client_id>/<web_id>/ directory for writing ? I can freely manage the contents of, for example, the /web/ subdirectory, but I cannot create or change anything directly in /var/www/clients/<client_id>/<web_id>/ , even as root.

    1. is it possible to unlock write rights to /var/www/clients/<client_id>/<web_id>/ for a selected user?
    2. can I somehow disable this restriction, create the necessary subdirectories and enable it again ?

    I've been struggling with this topic for some time but can't solve it myself. I use the chrome browser and it creates .local subdirectories in the user's directory. Due to the lack of saving I cannot use it.

    Ubuntu 22
    ISPConfig 3
     
  2. remkoh

    remkoh Active Member

    Unlock:
    Code:
    chattr -i /var/www/clients/<client_id>/<web_id>
    Lock after changes:
    Code:
    chattr +i /var/www/clients/<client_id>/<web_id>
     
    Last edited: Oct 8, 2024
    sitte likes this.
  3. sitte

    sitte New Member

    It works. Thank You very much:)
     
    remkoh likes this.

Share This Page