By john_h on
I keep getting the above error when trying to configure my site, upload new files etc. I'm using a shared server and the directory listing for the directory with my drupal installation is as follows (with my actual username replaced by "username"):
-rw-r--r-- 1 username username 20K Aug 15 01:43 CHANGELOG.txt
-rw-r--r-- 1 username username 749 Jan 9 2005 cron.php
drwxr-xr-x 2 username username 4.0K Aug 15 01:50 database
-rw-r--r-- 1 username username 8.2K Jun 11 2003 favicon.ico
drwxrwxr-x 2 username username 4.0K Sep 28 21:28 files
drwxr-xr-x 2 username username 4.0K Aug 15 01:50 includes
-rw-r--r-- 1 username username 595 Aug 21 2004 index.php
-rw-r--r-- 1 username username 10K Apr 23 06:07 INSTALL.txt
-rw-r--r-- 1 username username 18K Sep 15 2004 LICENSE.txt
-rw-r--r-- 1 username username 1.4K Sep 15 2004 MAINTAINERS.txt
drwxr-xr-x 2 username username 4.0K Aug 15 01:50 misc
drwxr-xr-x 7 username username 4.0K Sep 28 21:37 modules
drwxr-xr-x 2 username username 4.0K Aug 15 01:50 scripts
drwxr-xr-x 3 username username 4.0K Aug 15 01:50 sites
drwxr-xr-x 6 username username 4.0K Aug 15 01:51 themes
-rw-r--r-- 1 username username 8.6K Apr 6 20:04 update.php
-rw-r--r-- 1 username username 347 Aug 14 23:33 xmlrpc.phpYou will see I tried making ./files writable by its group, but that hasn't worked. This is basically stopping me from doing any real customisation.
Given that I don't have root access, how can I make the ./files directory writable as required?
Comments
chmod 777
chmod 777 files
Uwe.
--
hermann-uwe.de | crazy-hacks.org | unmaintained-free-software.org
Thanks - just one follow-up query
Thanks. I assume that will be OK - that making files writable by all users will only make it writable by users with login access to the server, not people browsing the site?
chmod is a setting for the
chmod is a setting for the directory on your server's machine. It means that anyone with access to that machine can change things chmod 777. Internet people won't be able to do anything unless they're doing something they're not supposed to be doing, and it goes past your Drupal system.