Linux ls and chown commands

XF 2.0 / 2.1 Linux ls and chown commands

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
Linux ls and chown commands

XF 2.0 / 2.1 Linux ls and chown commands

Catégorie Catégorie Generale
Titre du sujet Titre du sujet Linux ls and chown commands
Auteur de la discussion Auteur de la discussion BoussaSaKa
Date de début Date de début
Réponses Réponses 0
Affichages Affichages 261
Réaction Réaction 1
Dernier message par Dernier message par BoussaSaKa

BoussaSaKa

Membre suprême

VIP
Réputation: 100%
Discussions
197
Messages
710
Solutions
22
J'aime
867
Points
98
If you're experiencing an issue where you cannot upgrade your XenForo software due to a "The files are not writable" error message, this is typically a situation where the directories and files are not owned by the correct user and group.

To check the user and group where your XenForo is installed do this:

1. Go to the terminal of your server.
2. Navigate to the directory your XenForo is installed.
3. Type the following:

ls -l

You should see something like this:

1742


Notice how the third and fourth column indicate xf2addons, this represents the user and group on my server.

The problem I often see is the User or Group will be owned by "root" and this will cause problems when you try to upgrade the XenForo software. To fix this issue you use a command called chown.

/!\ Warning: usng the chown command incorrectly can break your server.

Example:

chown -R xf2addons:xf2addons /home/xf2addons/public_html
 
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas