Results 1 to 9 of 9
  1. #1


    Member Since
    Jun 30, 2011
    Posts
    5
    Question Localhost file & owner permissions
    For days now I'm looking for an answer I can't seem to find. I'm running Mamp on my iMac and I have installed a few joomla sites in my Mamp root which I changed to a second volume (HD) on my Mac.

    When trying to install a component for Joomla installation goes well but when I view the page I get a blank screen. It's not typical for this component, it does so as well with some other components.

    It's a image gallery plugin that works well when pointing to a joomla! folder in the default image folder, that came with the installation. No blank screen then. But when I point it to a newly made folder in the default image folder (the default for Joomla) the blank screen is there on the front end.

    I figured it must be because of file permissions but in terminal with the command ls -l it says (for all files inside that folder)

    -rwxrwxrwx 1 username admin etc.

    So it looks to me that permissions are right (0777) and ownership as well (username = my username).

    What could it be. I don't know what to do anymore.

    Thanks in advance for your help.

    Sandra

  2. #2

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    What are the permissions in the Default Joomla folder?

  3. #3


    Member Since
    Jun 30, 2011
    Posts
    5
    Thanks for your quick reply.

    This is what I get in terminal:

    drwxr-xr-x 29 username admin 986 29 jun 17:48 namedir

    I've changed file permissions to 0777 for the joomla! folder. In terminal (and Finder) I can see that it changed and that I'm the owner and admin is the owner. Then I started MAMP but the blank screen was there again.

    With Fillezilla I uploaded one of the images to the folder that has to be shown as a gallery. Without this image it works, with this image it shows a blank screen. In terminal I changed permissions for the image I uploaded. I can see that it changed. But again a blank screen.

    The problem definitely has to do with self made folders and uploaded/copied files from outside the Joomla! dir and you should think it has to do with file permissions, ownership. But changing this for those folders and files doesn't help.

    Anymore ideas are very welcome.

    Sandra

  4. #4

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    Although you the user are Admin, what group is specified. Shouldn't it be www as opposed to staff?

  5. #5


    Member Since
    Jun 30, 2011
    Posts
    5
    In terminal it doesn't say what group has the rights. It's just username + admin.

    In finder I can see that username, admin + everyone has read & write permissions (username = 1 person icon, admin = 2 person icon, everyone = 3 people icon)

    I don't know how to set group permission to staff or www. Should I replace group "everyone" for group "staff"?

    BTW: I've shifted my local site to an online domain (to rule out other possibly causes). The component works. For me proof that it has to do with permissions settings/ownership on my Mac.

    Thanks for helping me.

    Sandra

  6. #6

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    Sorry about the staff thing.

    Admins are by default in the Wheel group, non admins are in the staff group. It's an OS X thing.

    You can use the chgrp command in terminal to set the group. Since the web service is not running as you or admin for that matter, the group might need to be specified, or the owner should be who the web service is running as.

    root may need to be the owner and admin or www be the group. In a web scenario www has less privileges than admin (group) making the content safer.

  7. #7


    Member Since
    Jun 30, 2011
    Posts
    5
    I'm getting a bit confused. So instead of username root should be the owner? And instead of everyone as group www should be the group? Do I do this in Finder, or should I do this in terminal?

    Thanks,

    Sandra

  8. #8

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    I'll say this,...

    I have not used Joomla and therefore might be causing more harm than good.

    I did download and begin the install on my OS X Server when life got in the way over the holiday weekend.

    Wish I had more time.

    I trust you've tried the Joomla forums?
    I'll post back if I make any progress.

  9. #9


    Member Since
    Jun 30, 2011
    Posts
    5
    Thank you so much for trying to help me.

    Joomla forums I've tried but nothing there (well, I couldn't find it). Also tried the website of the person that made the extension. Will try some more. The moment I find the solution I'll let you know.

    Thanks again....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How can I add 127.0.0.1 localhost to my etc/hosts file/
    By oxband in forum OS X - Operating System
    Replies: 5
    Last Post: 06-19-2013, 05:30 PM
  2. Can not change file permissions to read & write
    By Computermichael in forum OS X - Operating System
    Replies: 30
    Last Post: 09-06-2012, 03:02 PM
  3. Trouble with file sharing & permissions
    By Bigjakesrq in forum OS X - Operating System
    Replies: 2
    Last Post: 10-02-2010, 03:46 AM
  4. localhost forbidden, localhost/~username allowed
    By Jarvis in forum Web Design and Hosting
    Replies: 0
    Last Post: 05-18-2010, 09:04 PM
  5. Can't change file permissions on download file.
    By guitarocker100 in forum OS X - Operating System
    Replies: 0
    Last Post: 01-09-2010, 10:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •