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

OS 10.4 - [SAMBA] Configuring permissions


Post Reply New Thread Subscribe

 
Thread Tools
euthymos
Guest
 
Posts: n/a

Dear ones,

I've mounted a Samba volume, and I've set Apache's document root to a folder located into this volume.

When I try to access http://localhost/ I get the following message:

Forbidden
You don't have permission to access / on this server.

Maybe this is a problem of permissions, so that Apache can't access the volume... What can I do?
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
I would guess Apache is running under some username (root or www?) that needs to also be setup on the Samba server with appropriate permissions.
QUOTE Thanks
euthymos
Guest
 
Posts: n/a

Quote:
Originally Posted by xstep
I would guess Apache is running under some username (root or www?) that needs to also be setup on the Samba server with appropriate permissions.
Yes, I think so. Therefore, how can I set up Samba to handle those permissions?
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
You learn how Samba works. Sorry.

I did manage to get it working on one of my servers once after a lot reading and trial & error. I did this for a MS Windows box. Everything else I use is NFS. I'm definitely no expert on this subject.

From what I see in my smb.conf file, I have a global area defining the workgroup, security level of user, where to find the password file, and to use encrypted passwords. I also have two groups which are the remote view names with a path in one case, I think. The one with the path shows up in MS Windows.

In the password file I have a username that matches my common username on all my systems, and the 501 UID entry that matches the UID on the server for that user.

You might also require an entry in the hosts file for the client. I not sure.

Beyond this, I'm not much help. This is one of those subjects you have to learn by doing.
QUOTE Thanks

Post Reply New Thread Subscribe


« 2 quick questions , one about chat in gmail and one about videoconferance | Minimising Windows Issue »
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
Can'y zap Pram, can't repair permissions and more! Manny Pantz OS X - Operating System 6 05-19-2006 09:33 AM
Not too pleased with new iMac JunMacTech Apple Desktops 14 12-05-2005 08:13 PM
repair permissions a waste of time? Macman Schweb's Lounge 5 05-31-2005 07:26 PM
Permissions issue with Home directory koert OS X - Operating System 8 05-23-2005 03:48 PM
Read/Write permissions - I Tunes JonnySkyman OS X - Operating System 0 12-31-2003 12:51 PM

All times are GMT -4. The time now is 09:48 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?