CodeIgniter Forums

Full Version: Help! CI Permissions problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Spirit986[/eluser]
So i have installed CI on my XAMPP - running on Ubuntu.. but it gives me an error
Quote:Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.

...unless i give full right permissions executing chmod ugo=rwx
I consider this as a security hole...
What should be the minimal seting for chmod so that CI can work properly?

El Forum

[eluser]InsiteFX[/eluser]
Try 750

El Forum

[eluser]Spirit986[/eluser]
Thanx for the replay... but it still gives me the error... :S

Posting an update of what i did:
Code:
[email protected]:/opt/lampp/htdocs$ sudo chmod -R 750 CodeIgniter_2.0.2/
[sudo] password for spirit:
[email protected]:/opt/lampp/htdocs$ ls -l CodeIgniter_2.0.2/
total 24
drwxr-x--- 15 spirit spirit 4096 2011-04-20 20:55 application
-rwxr-x---  1 spirit spirit 6321 2011-04-07 19:20 index.php
-rwxr-x---  1 spirit spirit 2496 2011-04-07 19:20 license.txt
drwxr-x---  8 spirit spirit 4096 2011-04-20 20:55 system
drwxr-x--- 11 spirit spirit 4096 2011-04-20 20:55 user_guide

Server error:
Quote:Access forbidden!

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

Any sugestions?

El Forum

[eluser]danmontgomery[/eluser]
Add the apache user to the spirit group, or change ownership of the files so apache has access.