New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Localhost file & owner permissions


Post Reply New Thread Subscribe

 
Thread Tools
alice24springs

 
Member Since: Jun 30, 2011
Posts: 5
alice24springs is on a distinguished road

alice24springs is offline
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
QUOTE Thanks
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,150
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is online now
What are the permissions in the Default Joomla folder?
QUOTE Thanks
alice24springs

 
Member Since: Jun 30, 2011
Posts: 5
alice24springs is on a distinguished road

alice24springs is offline
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
QUOTE Thanks
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,150
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is online now
Although you the user are Admin, what group is specified. Shouldn't it be www as opposed to staff?
QUOTE Thanks
alice24springs

 
Member Since: Jun 30, 2011
Posts: 5
alice24springs is on a distinguished road

alice24springs is offline
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
QUOTE Thanks
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,150
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is online now
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.
QUOTE Thanks
alice24springs

 
Member Since: Jun 30, 2011
Posts: 5
alice24springs is on a distinguished road

alice24springs is offline
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
QUOTE Thanks
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Location: Closer than you think.
Posts: 2,150
MacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really niceMacsWork is just really nice
Mac Specs: Performa 6116 2GBSCSI 8MB OS 7.5.3

MacsWork is online now
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.
QUOTE Thanks
alice24springs

 
Member Since: Jun 30, 2011
Posts: 5
alice24springs is on a distinguished road

alice24springs is offline
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....
QUOTE Thanks

Post Reply New Thread Subscribe


« Unexpectedly have two login profiles after Time Machine restore | cannot download in all browsers, dropbox not syncing »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
mac boots to a black screen jjd2010 OS X - Operating System 15 10-11-2010 12:30 AM
Mac Pro keeps crashing when using with KVM. where to start my investigation? AlexUK Apple Desktops 6 06-20-2007 06:50 AM
file permissions lomokev OS X - Operating System 3 06-10-2005 12:30 PM
repair permissions a waste of time? Macman Schweb's Lounge 5 05-31-2005 07:26 PM
File Permissions in OSX fosdyke Apple Desktops 0 09-24-2003 10:01 AM

All times are GMT -4. The time now is 09:11 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?