Changes between Initial Version and Version 1 of faq/drupal/sftp-permission-denied


Ignore:
Timestamp:
Mar 21, 2008, 2:48:12 PM (16 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/drupal/sftp-permission-denied

    v1 v1  
     1= How can I upload a file to my themes or modules directory? When I try I get an access denied message =
     2
     3If your Drupal installation was installed by May First/People Link, then you are using a central, shared version of the Drupal code (which means that when we update the code to fix security holes, your version is automatically updated too).
     4
     5One of the side effects of this setup is that you cannot modify files in many of your web root's directories (most noticeably your themes or modules directories). When you try, you will get an Access denied message.
     6
     7This restriction prevents you from editing the core Drupal code (if you could edit these files, your changes might be over-written with the next Drupal update).
     8
     9Drupal has a system that allows you to make your own modification to your themes and modules directories without interfering with this core Drupal code. In your web directory, along with themes, modules, and others, there is a directory called "sites." This directory is where you should put all of your customizations. The sites directory has a sub-directory called "default." You can create a modules and themes directory here. Any module or theme you place in this directory will appear in your modules and themes admin pages just as if it was placed in your main modules or themes directory.
     10
     11When customizing your own theme, a common approach is to:
     12
     13 * Copy a theme from the central theme directory
     14 * Rename it after your site (so it doesn't conflict with the original them
     15 * Place it in your sites/default/themes directory
     16 * Switch your site to use your new theme
     17 * Customize the theme to your liking
     18
     19
     20