Welcome Guest, Not a member yet? Register   Sign In
Help! CI Permissions problem
#1

[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?
#2

[eluser]InsiteFX[/eluser]
Try 750
#3

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

Posting an update of what i did:
Code:
spirit@RiXZ:/opt/lampp/htdocs$ sudo chmod -R 750 CodeIgniter_2.0.2/
[sudo] password for spirit:
spirit@RiXZ:/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?
#4

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




Theme © iAndrew 2016 - Forum software by © MyBB