블로그 이미지
namGoos
IQ.152 천재 남구스

calendar

      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

    'samba'에 해당되는 글 2

    1. 2009/07/31 samba smb.conf 설정
    2. 2008/11/27 Samba + Svn + TortoiseSVN 1.5.x 이용시 삼바 설정
    2009/07/31 18:02 Web Dev/Debian Server

    #======================= Global Settings =======================

    [global]

    ## Browsing/Identification ###

    # Change this to the workgroup/NT-domain name your Samba server will part of
       workgroup = dev_box

    # server string is the equivalent of the NT Description field
       server string = %h BestPlay Development Server

    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
    #   wins support = no

    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ;   wins server = w.x.y.z

    # This will prevent nmbd to search for NetBIOS names through DNS.
       dns proxy = no

    # What naming service and in what order should we use to resolve host names
    # to IP addresses
    ;   name resolve order = lmhosts host wins bcast

    ## For SVN Ver1.5.xx by namGoos!!
    create mask = 0644
    force create mode = 0600
    security mask = 0555
    force security mode = 0600

    #### Networking ####

    # The specific set of interfaces / networks to bind to
    # This can be either the interface name or an IP address/netmask;
    # interface names are normally preferred
    ;   interfaces = 127.0.0.0/8 eth0

    # Only bind to the named interfaces and/or networks; you must use the
    # 'interfaces' option above to use this.
    # It is recommended that you enable this feature if your Samba machine is
    # not protected by a firewall or is a firewall itself.  However, this
    # option cannot handle dynamic or non-broadcast interfaces correctly.
    ;   bind interfaces only = yes

    ## access ip by namGoos
    hosts allow = 58.181.20.

    ## charset setting for windog by namGoos
    unix charset=utf-8
    dos charset=utf-8


    #======================= Share Definitions =======================

    [Trunk]
    comment = Trunk Box
    path=/var/www/trunk
    public = yes
    writable = yes
    create mode = 0664
    directory mode = 0775
    force user = totoro
    force group = www-data

    [Branches]
    comment = Branches Box
    path=/var/www/branches
    public = yes
    writable = yes
    create mode = 0664
    directory mode = 0775
    force user = totoro
    force group = www-data

    [Tags]
    comment = Tags Box
    path=/var/www/tags
    public = yes
    writable = yes
    create mode = 0664
    directory mode = 0775
    force user = totoro
    force group = www-data


    [DataBox]
    comment = Data Boxes
    path=/var/samba
    public = yes
    writable = yes
    create mode = 0664
    directory mode = 0775
    force user = nobody
    force group = nogroup

    저작자 표시
    크리에이티브 커먼즈 라이선스
    Creative Commons License

    'Web Dev > Debian Server' 카테고리의 다른 글

    SVN 서버 주소가 변경 시 폴더 정보 변경  (0) 2011/01/18
    eClipse : myLyn = redMine : SVN 설치 방법  (1) 2009/08/13
    samba smb.conf 설정  (0) 2009/07/31
    posted by namGoos
    2008/11/27 10:51 Web Dev

    Permission problems with working copies on a SAMBA share.

    After upgrading to TortoiseSVN 1.5.x, you get a lot of "Access denied" errors for most of the Subversion commands if your working copy is stored on a SAMBA share.

    Some users reported that the problem went away after they upgraded SAMBA to the latest version. If that does not help or you can't upgrade, allow readonly files to be deleted in the SAMBA config file:

    [global]
    delete readonly = yes
    

    For older versions, try:

    [global]
    create mask = 0644
    force create mode = 0600
    security mask = 0555
    force security mode = 0600
    설마 TortoiseSVN 64bit 버전을 쓰기 위해 기존의 1.4.x 버전을 버리고 1.5.x를 깔아 쓰는 계속 퍼미션 에러가 나왔는데 원인을 찾기 위해 모든 경우의 수를 다 분석하다가 설마 했는데 버전에 대한 설정 값을 다르게 해야 할 줄은 꿈에도 몰랐다는...
    크리에이티브 커먼즈 라이선스
    Creative Commons License

    'Web Dev' 카테고리의 다른 글

    Samba + Svn + TortoiseSVN 1.5.x 이용시 삼바 설정  (0) 2008/11/27
    posted by namGoos
    TAG samba, svn
    prev 1 next