samba 3.x 에서 한글폴더 안에 있는 파일 윈도우에서 실행 시키?

tanus의 이미지

samba 3.x 에서 한글폴더 안에 있는 파일을 윈도우상에서 실행 시킬 수가 없습니다. 영문 디렉토리 이하에 있는 실행파일들은 잘 실행됩니다.

samba 2.2x로 돌아가면 잘 됩니다.

한글이 깨지거나 하는건 아니고, (949로 4년째 사용중입니다. 3.x에서는 euc-kr 사용했습니다) 생성, 삭제, 기타 등등 모두 잘되는데, 다만 실행이 안됩니다.

하지만 영문 디렉토리 이하에 있는 실행파일들은 잘 실행됩니다.

한글이름 디렉토리 이하에 있는 파일들은 '권한이 없습니다' 어쩌구 하는 메시지가 뜹니다. 하지만 실제 권한 문제는 아닙니다. 777로 줘도 안되니까요. 동일한 smb.conf와 디렉토리 환경에서 삼바 패키지만 2.2x로 바꾸면 한글 디렉토리 이하에서도 실행 잘 됩니다. (물론 charset 부분만은 서로 호환성이 없으니 바꿔줘야죠)

3.0, 3.01a 모두 같은 증상이었습니다. 한글 처리하는 부분에서 뭔가 빠진 모양이거나 2.2x와는 상당히 다른 세팅이 필요한가 본데, 아무래도 전자가 더 의심됩니다.

이 문제 확인하신분 안 계신가요?

elecguy의 이미지

smb.conf 의 [global] 섹션에..

dos charset=cp949
display charset=cp949
unix charset=cp949

이전의 client code page(?) 인가는 지우기 바랍니다.
그리고, samba 데몬을 재실행.!

폐인, 노가다 그 끝은..?

tanus의 이미지

charset 등을 CP949 로 변경시켜도 실행은 안됩니다.
samba 2.x 데몬을 띄우면 되는걸 보면, 3.x의 문제 같습니다.

익명 사용자의 이미지

제경우는 다음과 같습니다.
1. 삼바의 공유명은 한글이고 실제폴더는 영문입니다.
2. Windows 에서 삼바 공유폴더를 열고 한글로 폴더를 하나 만듦
3. 한글로만든 폴더안에 한글로 파일을 저장
4. 실행 하니깐 잘됩니다.

i18n 설정 -> LANG="ko_KR"
그리고는 위에분 말대로 client code page 지우고
dos charset=cp949
display charset=cp949
unix charset=cp949

설정하니깐 잘됩니다.. 이걸루 하루꼬박 고생했는데 속이 후련합니다 ^^

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.