Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

If you do adjust them, do not do so directly from that file. You need to do this in a constants.php file

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...