Permissions Don't Work

ScathDeSolas

Verified User
Joined
Feb 10, 2011
Messages
52
What is the default permissions? Because in Joomla for things to work properly it seems my directories all need to be 777... this is a huge issue as you know.

Anytime I want something installed or tmp folders to work or cache folders and other things alike, it wont work.

In order to even install components I have to use FTP which is a pain and STILL have permissions 777 for everytime I go to install something new from JOomla admin panel.

No matter what I do if it's removing or installing 777 is required.

HOW DO I FIX THIS IT'S ANNOYING AND A SECURITY RISK!
 
Ugh

"Your session write path and the installation directory are not writable. One of them must be writable for the installation to continue."

This is what it says @ http://pixelcobra.com/installation/index.php

The directories are all 755 and I did what you asked me to do with the permissions.

Before this I get an error on the last step using the mod_ruid2 method
Code:
5LineNetwork:~# for i in `ls`; do { chown -R $i:$i /home/$i/domains/*/public_html;}; done;
chown: invalid user: `setup.sh:setup.sh'
chown: invalid user: `Steam:Steam'

I have a folder and directory labeled Steam and a file named setup.sh
 
That's ok:

Code:
chown: invalid user: `setup.sh:setup.sh'
chown: invalid user: `Steam:Steam'

Just ignore that.

Run for user with domain pixelcobra.com:

Code:
chown -R <username>:<username> /home/<username>/domains/pixelcobra.com/public_html/*
 
I've actually done chown -hR username:username /directory. right now the GID and UID are all correct but I think it's because I'm using apache and not CGI. I just read this:

In general if your hosting provider utilizes (regretfully) Apache as Webinterface instead of CGI you will need 777....If CGI you need files on 644 and folders on 755 and all works fine. Stay away from any host who does not use suPHP and therefore CGI as interface.....

Many extensions have still in their "read_me" the fully outdated 777 indications and that should be changed...Never take advise 777 automatically...asking for trouble ...Check your PHP config (Joomla admin > system info) and if webhandler set to Apache move host...If set to cgi or fastcgi use 755 the max.....

and was told to go here: http://forum.joomla.org/viewtopic.php?t=121470

No if I use SUPHP what are the benefits because I've read on a few sites it asks you to disable certain modules and uninstall certain things.
 
suPHP or mod_ruid2. As noted in post #2 of this thread. Choose one.

Distinctions between them have been posted many times both on these forums and elsewhere. Please use Google to search this forum, and/or the world.

Jeff
 
Back
Top