CodeIgniter Forums
Help! CI Permissions problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Help! CI Permissions problem (/showthread.php?tid=40895)



Help! CI Permissions problem - El Forum - 04-21-2011

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


Help! CI Permissions problem - El Forum - 04-21-2011

[eluser]InsiteFX[/eluser]
Try 750


Help! CI Permissions problem - El Forum - 04-22-2011

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


Help! CI Permissions problem - El Forum - 04-22-2011

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