I want to port over a Drupal commons 6x24 from a local LAMP-stack to a production webserver. Both systems run OpenSuse Linux. How do I do this, what are the most important steps. How should I handle file-ownership.
It's important for me to have to have full control of the file ownership. If I use the wwwrun account, I frequently run into problems, due to a very strict webserver-admin.
See for example the long history of looking for fixes and solutions see this thread and even more interesting see this very long and impressive thread here.
All troubles I run into have to do with file-owernship and permissions. This is my current setup; Note: This was just a quick hacked installation - quick and dirty. Well my interest is after the general options i have in the port of a drupal from linux to linux
linux-vi17:/srv/www/htdocs/com624 # ls -l
insgesamt 224
-rwxrwxrwx 1 root www 45285 19. Jan 00:54 CHANGELOG.txt
-rwxrwxrwx 1 root www 925 19. Jan 00:54 COPYRIGHT.txt
-rwxrwxrwx 1 root www 206 19. Jan 00:54 cron.php
drwxrwxrwx 2 root www 4096 19. Jan 00:54 includes
-rwxrwxrwx 1 root www 923 19. Jan 00:54 index.php
-rwxrwxrwx 1 root www 1244 19. Jan 00:54 INSTALL.mysql.txt
-rwxrwxrwx 1 root www 1011 19. Jan 00:54 INSTALL.pgsql.txt
-rwxrwxrwx 1 root www 47073 19. Jan 00:54 install.php
-rwxrwxrwx 1 root www 15572 19. Jan 00:54 INSTALL.txt
-rwxrwxrwx 1 root www 14940 19. Jan 00:54 LICENSE.txt
-rwxrwxrwx 1 root www 1858 19. Jan 00:54 MAINTAINERS.txt
drwxrwxrwx 3 root www 4096 19. Jan 00:54 misc
drwxrwxrwx 35 root www 4096 19. Jan 00:54 modules
drwxrwxrwx 4 root www 4096 19. Jan 00:54 profiles
-rwxrwxrwx 1 root www 1470 19. Jan 00:54 robots.txt
drwxrwxrwx 2 root www 4096 19. Jan 00:54 scripts
drwxrwxrwx 4 root www 4096 19. Jan 00:54 sites
drwxrwxrwx 7 root www 4096 19. Jan 00:54 themes
-rwxrwxrwx 1 root www 26250 19. Jan 00:54 update.php
-rwxrwxrwx 1 root www 4864 19. Jan 00:54 UPGRADE.txt
-rwxrwxrwx 1 root www 294 19. Jan 00:54 xmlrpc.php
linux-vi17:/srv/www/htdocs/com624 #
Comments
Files directory
The account that runs Drupal (the webserver process, often 'http' or 'apache' or 'www-data' or even 'nobody') needs write access to the files directory -- wherever you put it, probably sites/default/files -- and everything below that. If you have root access you can chown all of it to the webserver process.
Do the same thing with the Boost cache directory, if you're using Boost.
The rest of the files should NOT be writable by the webserver process, for security reasons.
thx
hello dear yelvington
many many tanks for the tips and hints - very concise very clear and straigtforward in your description,
Thanks alot for the help - all is very very supportive.
greetings unleash
Administration Guide
http://drupal.org/node/776864
hello dear Jacobson - many
hello dear Jacobson - many many thanks greetings
unleash