Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Grafidea Posted February 19 Posted February 19 Hi, what CHMOD settings should be set for IPS folders and files to ensure everything works properly? As I understand, is it uploads folder set to 777? Also, cron task.php, and the rest?
teraßyte Posted February 19 Posted February 19 You can find the recommended CHMOD settings inside the init.php file: // File permissions // For example: when making folders for files to be uploaded to, what permissions // that should be created with 'IPS_FOLDER_PERMISSION' => 0777, // Writeable folders 'FOLDER_PERMISSION_NO_WRITE' => 0755, // Non-writeable folders 'IPS_FILE_PERMISSION' => 0666, // Writeable files 'FILE_PERMISSION_NO_WRITE' => 0644, // Non-writeable files Those are the default values IPS suggests (and uses), but depending on your server's configuration, you might need to adjust them. That part is best discussed with your hosting, though. As for writable folders, the default ones usually are applications, datastore, plugins, and uploads. Anyway, you'll get an error during upgrades if something that needs to be writable isn't. Unless you're having issues with your site (for example, files not uploading, etc), I wouldn't change anything. SeNioR- 1
Marc Posted February 20 Posted February 20 If you do adjust them, do not do so directly from that file. You need to do this in a constants.php file
Grafidea Posted February 20 Author Posted February 20 @Marc Stridgen Can you explain more or less how to do it?
Marc Posted February 20 Posted February 20 If you take a look at the following, this explains how it works 🙂 https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-constantsphp-r25/
Recommended Posts