Results 1 to 4 of 4
  1. #1
    euthymos
    Guest
    [SAMBA] Configuring permissions
    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?

  2. #2
    [SAMBA] Configuring permissions
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.

  3. #3
    euthymos
    Guest
    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?

  4. #4
    [SAMBA] Configuring permissions
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 02-16-2012, 06:13 PM
  2. Samba 3.4.1 issue
    By varghesema in forum OS X - Apps and Games
    Replies: 0
    Last Post: 10-15-2009, 11:55 PM
  3. Samba Question
    By felixm in forum Internet, Networking, and Wireless
    Replies: 0
    Last Post: 02-15-2009, 10:21 AM
  4. Samba on a Mac
    By NeoGreen in forum OS X - Apps and Games
    Replies: 4
    Last Post: 11-29-2007, 01:58 PM
  5. Samba over VPN
    By dinkoarun in forum Internet, Networking, and Wireless
    Replies: 2
    Last Post: 05-29-2007, 09:18 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
  •