Monday, May 21st

Last update05:36:30 AM GMT

Font Size

Screen

Profile

Layout

Menu Style

Cpanel
Welcome, Guest
Username Password: Remember me

Directory permissions in html/joomla on Linux
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Directory permissions in html/joomla on Linux

Directory permissions in html/joomla on Linux 3 years, 5 months ago #858

  • glenn3095
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
I have set up Joomla to try it out on my home Linux installation and I was wondering how I can get things to update without giving rwx permissions to everybody.

Currently I have the following:
drwxrwxrwx 11 joomla webeditors 4096 2008-11-16 22:09 administrator
drwxrwxrwx 2 joomla webeditors 4096 2008-11-16 22:09 cache
-rwxrwxrwx 1 joomla webeditors 76520 2008-11-10 19:24 CHANGELOG.php
drwxrwxrwx 13 joomla webeditors 4096 2008-12-06 17:23 components
etc...

what I want is:
drwxrwxr-x 11 joomla webeditors 4096 2008-11-16 22:09 administrator
drwxrwxr-x 2 joomla webeditors 4096 2008-11-16 22:09 cache
-rwxrwxr-x 1 joomla webeditors 76520 2008-11-10 19:24 CHANGELOG.php
drwxrwxr-x 13 joomla webeditors 4096 2008-12-06 17:23 components

But with this joomla gets upset with certain admin jobs.

I was hoping that joomla would use the user 'joomla' to access the website files but it doesn't seem to. Am I doing something wrong?

Thanks very much.

Glenn

Re:Directory permissions in html/joomla on Linux 3 years, 5 months ago #862

  • dex
  • OFFLINE
  • Moderator
  • Posts: 779
  • Karma: 12
Hi Glenn

If you go to Help > System Info > Directory Permissions you will see a list of directories that Joomla needs write access to, to function.

I agree that permissions can be a problem, but they're also really server-dependent.

For hosted sites, sometimes you can get around permissions issues by putting your FTP details in Global Configuration and letting it work that way. I'm not thrilled about this myself, unless you then hide configuration.php outside the web accessible directories, as having a text file containing unencrypted FTP details doesn't seem like any kind of security to me. I guess on your home server it is not an issue anyway.

I've never been sure why the lower level needs write permissions - perhaps someone will now tell us.
Dex Randall
Joomla! web design and production
Sydney JUG organiser + joomla.org.au site admin
www.spikesystems.com.au
www.twitter.com/dexx

Re:Directory permissions in html/joomla on Linux 3 years, 5 months ago #864

Hi - I'm no linux expert, but I've had what seemed like permission problems on a couple of linux servers and it turned out that ownership was the issue. (Whereas on some servers ownership didn't seem to matter at all!)

So it may be worth chowning around a bit, to see if that helps.

But like Dex says it's heavily dependant on the server set up.

And like I said, I don't know much about linux - so I may be way off track... but just another thought, to think about.
-----------------------------------------------------
www.jbtwebsites.com.au
www.joomla-training-ground.com

Re:Directory permissions in html/joomla on Linux 3 years, 5 months ago #874

  • glenn3095
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
I think the FTP option sounds a bit risky. I think I will stick with giving rwx to everybody and when I am finished set it back to r-x.

Thanks for your help.

Cheers.

Glenn

Re:Directory permissions in html/joomla on Linux 3 years, 5 months ago #875

  • glenn3095
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Do you know what you have to set the ownership to? I have set mine to "joomla" but it hasn't helped.

Thanks.

Re:Directory permissions in html/joomla on Linux 3 years, 5 months ago #876

on apache Id try apache apache
depends on set up u might even try joomla joomla etc
-----------------------------------------------------
www.jbtwebsites.com.au
www.joomla-training-ground.com
  • Page:
  • 1
Time to create page: 0.44 seconds
You are here: Forum