I could not find anything directly relating to this via the search.
How do you guys usually go about setting up an environment locally for a single user? For example, if Composer and Node.js are needed for a certain website to run.
Do you activate SSH for the user and install it in the /username/www folder?
For me this does not appear to work and produces the following error message:
Code: Select all
Unable to create Composer
home directory "/home/users/username/.config/composer": mkdir(): Permission denied
Root accounts on the other hand have the necessary permissions for the home directory of the user but appear to be barred permission to enter the file children of the user’s directory.
So, do I need to temporarily alter permissions to perform the installation, even in case of using a root account? Or is there another way, a best practice for setting up a local environment while using keyhelp?
Since I am new to server administration and keyhelp, I am trying to get a grasp as to what the best practices are when using keyhelp together with the shell, especially to avoid unnecessarily fiddling around with permissions that are tailored to keyhelp.
Thanks for taking the time to read through this.
All the best,
hercules