CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • File ownership in template is 99
Pages: [1]

Author Topic: File ownership in template is 99  (Read 2042 times)

chaos21in

  • Guest
File ownership in template is 99
May 14, 2007, 05:32:08 am
Hi,

I noticed that the directories and files created by civicrm in templates_c folder has owndership as "99" rather then the username on the server it is hosted. This is creating problem when i am trying to delete them, as it is giving permission denied. The main templates_c folder i created earlier has username as what it should be so i renamed it and created new folder templates_c . Now the new files and folders in this new templates_c folder is again creating with ownership 99.

I cannt change the ownership as i dont have root access on that linux server nor even i have shell access. I can see only the ownership using Cuteftp client, when i ftp there.

Let me know whats the problem. 

--rafi

MichaƂ Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: File ownership in template is 99
May 15, 2007, 04:58:53 am
Simplifying, templates_c directory and its subdirectories are created by the webserver, so their ownership is set  to the same user that webserver is running with.

You might want to make use of CIVICRM_DEBUG configuration setting, excerpt from civicrm.settings.php file below:

 * Debugging
 *
 * Enable CIVICRM_DEBUG (value = 1) when you need to use one of the debug-related tools. These are
 * triggered via URL parameters - IF CIVICRM_DEBUG is turned on.
 *
 * Debugging tools:
 * Smarty Debug Window - Loads all variables available to the current page template into a pop-up
 * window. To trigger, add '&smartyDebug=1' to any CiviCRM URL query string.
 *
 * Session Reset - Resets all values in your client session. To trigger, add '&sessionReset=2'
 *
 * Directory Cleanup - Empties template cache and/or upload file folders.
 *  To empty template cache (civicrm/templates_c folder), add '&directoryCleanup=1'
 *  To remove temporary upload files (civicrm/upload folder), add '&directoryCleanup=2'
 *  To cleanup both, add '&directoryCleanup=3'
 *
 * WARNING: Do not leave debugging enabled by default as it can be used to expose configuration
 * information to unauthorized browsers.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • File ownership in template is 99

This forum was archived on 2017-11-26.