Grafidea Posted February 19 Share 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? Link to comment Share on other sites More sharing options...
teraßyte Posted February 19 Share 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 Link to comment Share on other sites More sharing options...
Marc Posted February 20 Share 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 Link to comment Share on other sites More sharing options...
Grafidea Posted February 20 Author Share Posted February 20 @Marc Stridgen Can you explain more or less how to do it? Link to comment Share on other sites More sharing options...
Marc Posted February 20 Share 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/ Link to comment Share on other sites More sharing options...
Recommended Posts