Find the answer to your Linux question:
Results 1 to 3 of 3
So i have installed Turnkey: LAMP stack which is built for debian. I'm trying to share a www folder that is located path = var/www so i can map it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    May 2009
    Location
    Kitchener, Ontario, Canada
    Posts
    206

    Samba config questions


    So i have installed Turnkey: LAMP stack which is built for debian.
    I'm trying to share a www folder that is located path = var/www so i can map it in windows. I installed samba and I'm having some issues setting up the smb.conf.

    Currently the only user is root is it wise to use root or should i create another user?

    so far this is what i got:

    smb.conf
    Code:
    workgroup = workgroup 
    security = root
    browseable = yes
    readonly = no
    create mask = 0775
    directory mask = 0775
    path = /var/www
    comment = web
    ON WIN7:
    net use W: \\192.168.0.10\web
    user: root
    pass: (password i have for root)

    what am i missing?

  2. #2
    Linux Newbie
    Join Date
    Jan 2013
    Location
    Argentina
    Posts
    122
    I cannot help you, but perhaps you can help me. I've come accros this situation. Thanks in advanced.

  3. #3
    Just Joined!
    Join Date
    Nov 2012
    Location
    Tunis, Tunisia
    Posts
    9
    Hi,
    Take care when we use a LAMP so we have apache server so the user is www-data and the group is also www-data, so with the lamp you cant access to /var/www which has the previlege root, in this case add this user to the samba users or change the the previlege of the directory /var/www

    Best regards

Posting Permissions

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