Changes

Jump to navigation Jump to search
17 bytes removed ,  08:00, 3 February 2012
Line 27: Line 27:  
* Create a user from the user panel and reset their password
 
* Create a user from the user panel and reset their password
 
* Enable ftp from local networks (I only allow administration of websites from the local network as a matter of security principle!)
 
* Enable ftp from local networks (I only allow administration of websites from the local network as a matter of security principle!)
* Give the user you just created the correct access permissions
+
* Give the user you just created the correct access permissions using the fix_permissions.sh script from [http://drupal.org/node/244924]
    
For example, say you created a user called '''fred''', then in order for '''fred''' to be able to ftp the required files via the Drupal interface, then you give them permission to do so like this:
 
For example, say you created a user called '''fred''', then in order for '''fred''' to be able to ftp the required files via the Drupal interface, then you give them permission to do so like this:
   −
  cd /home/e-smith/files/ibays/Primary/html/
+
  bash fix-permissions.sh /home/e-smith/files/ibays/Primary/html fred
chown -R fred:www .
  −
find . -type d -exec chmod u=rwx,g=rx,o= {} \;
  −
find . -type f -exec chmod u=rw,g=r,o= {} \;
      
Where '''fred''' is the user account you will use in Drupal to ftp the files (for example installing a new theme) and www is the account that smesever runs the web server under.
 
Where '''fred''' is the user account you will use in Drupal to ftp the files (for example installing a new theme) and www is the account that smesever runs the web server under.
13

edits

Navigation menu