[eluser]jedd[/eluser]
Quote:I'm using Debian.
Ahh, you're one of
us ... why didn't you say so earlier!
Quote:Is there no particular permission for views, controllers and models files?
Whatever works, really. Your web server runs as www-data, and you (really you) should be in the group www-data, so you need all your files in the structure .. well, this:
Code:
# chown -R www-data:www-data /var/www/path/to/your/CI/instance
Permissions are generally 775 for directories, 664 for files. Contents of my application directory (f.e.):
Code:
$ ls -al
total 48
drwxr-xr-x 11 www-data www-data 4096 2009-02-22 19:20 .
drwxr-xr-x 13 www-data www-data 4096 2009-02-10 19:14 ..
drwxrwxr-x 2 www-data www-data 4096 2009-02-10 19:14 config
drwxrwxr-x 3 www-data www-data 4096 2009-03-14 15:41 controllers
drwxrwxr-x 2 www-data www-data 4096 2009-02-10 19:14 errors
drwxrwxr-x 2 www-data www-data 4096 2009-03-16 02:27 helpers
drwxrwxr-x 2 www-data www-data 4096 2009-02-10 19:14 hooks
-rw-r--r-- 1 www-data www-data 114 2008-11-13 16:59 index.html
drwxrwxr-x 3 www-data www-data 4096 2009-02-10 19:14 language
drwxrwxr-x 2 www-data www-data 4096 2009-03-14 14:54 libraries
drwxrwxr-x 2 www-data www-data 4096 2009-03-14 23:24 models
drwxrwxr-x 5 www-data www-data 4096 2009-03-15 01:04 views
I'd suggest chmod g+w - for everything under system/application - and ensuring that GID is www-data at the same time - will solve all your woes.