How to share files and folders in Ubuntu 우분투에서 파일과 폴더를 공유하는 방법

by Ross McKillop on May 19, 2007 로스 mckillop에 의해 2007년 5월 19일

리눅스

This brief tutorial will outline how to enable file sharing in Ubuntu. 이 간략한 자습서는 파일 공유를 활성화하는 방법을 설명 우분투합니다.

  1. Sharing files and folders across your network from your Ubuntu PC is every bit as easy as sharing files in Windows (arguably, it’s easier). 전체의 네트워크에서 파일과 폴더를 공유 우분투 pc는 공유 파일의 모든 비트만큼 쉽다 창 (아마, 그건 쉬운). Start by right-clicking the folder you want to share, and select Share Folder . 오른쪽 - 클릭하여 시작하려는 폴더를 공유하고 공유 폴더를 선택합니다. If the services required to share files/folders aren’t installed, you’ll be prompted to install them. 필요한 경우에는 서비스를 공유할 파일 / 폴더가 설치되어 있지 않은 그들을 설치하라는 메시지가 나타납니다.
  2. After clicking Install services they will automatically start to download and install. 설치를 클릭하면 서비스를 그들을 다운로드하고 설치가 자동으로 시작됩니다.
  3. Once that has completed you’ll be presented with an options window. 한 번가 완료하면 옵션 창에 한해서합니다. From here you can select the type of sharing (SMB or NFS), give the shared folder a name and decide if you want read-only access to the folder. 여기에서의 유형을 선택하실 수있습니다 공유 (smb 또는 nfs), 줄의 공유 폴더의 이름을 결정 읽기 - 전용 액세스 원한다면 폴더로 이동합니다. Click OK when you’re done. 작업이 완료되면 확인을 누릅니다.
  4. If you right-click on your newly shared folder and select Properties and then the Emblems tab, you can give the folder a unique icon so you’ll know it’s shared. 새로하는 경우 공유 폴더를 오른쪽 - 클릭하면 등록 정보를 클릭한 다음, 홍보물 탭을 선택하실 수있습니다 폴더를주는 독특한 아이콘을 당신의 공유 그걸 알 수있을 겁니다.

  5. click to enlarge 클릭하면 확대

  6. You can further modify the permissions of your shared folder by selecting the Permissions tab. 귀하의 사용 권한을 수정하실 수있습니다 공유 폴더에 추가를 선택하여 사용 권한을 탭합니다.

  7. click to enlarge 클릭하면 확대

  8. Now open a terminal in Ubuntu and enter the command: 지금은 터미널에서 열려 우분투 명령을 입력합니다 :

    sudo smbpasswd -a username 사용자 이름을 sudo smbpasswd -

    This will add a SMB user. 이것은 사용자를 추가 smb.

  9. And now other computers can connect to your shared folder! 그리고 지금 당신의 공유 폴더를 다른 컴퓨터에 연결할 수있습니다!
Related Posts: 관련 게시물 :
  • How to share files and folders between Windows and OS X using Parallels 사이에 파일 및 폴더를 공유하는 방법을 윈도우와 운영 체제 x를 사용하여 평행
  • How to install Ubuntu 7.04 using VMWare Fusion in OS X vmware를 설치하는 방법을 융합에 운영 체제를 사용하여 우분투 7.04 x
  • How to make all of your folders have the same “View” in Windows XP 귀하의 모든 폴더를 만드는 방법이 동일한 "보기"를 windows XP 용
  • Linux for Parents - A Beginners Guide to Ubuntu 부모를위한 리눅스 - 초보자 가이드를 우분투
  • How to automatically sign in to Ubuntu 우분투에 자동으로 로그인을하는 방법
  • { 3 trackbacks } (3 트랙백)

    How To Share Files And Folders In Ubuntu [Linkosphere] 에서 파일과 폴더를 공유하는 방법을 우분투 [linkosphere]
    06.16.07 at 7:54 am 06.16.07에서 오전 7시 54분
    ColdFusion 8 on Ubuntu with LAMP « Random Madness 8. ColdFusion 우분투, 램프«임의의 광기
    02.11.08 at 2:07 pm 02.11.08에서 오후 2시 7분
    how to make a network - FreddysHouse 를 만드는 방법 네트워크 - freddyshouse
    05.22.08 at 1:57 am 05.22.08에서 오전 1시 57분

    { 30 comments… read them below or (30… 읽어도 아래에 의견이나 add one 하나를 추가 } )

    1 1 Ferdinand 05.20.07 at 7:32 am 05.20.07 페르디난드에서 오전 7시 32분

    And when it asks you for the username and password? 그리고 당신을 때 사용자 이름과 암호를 묻습니다? Do you give the username and password of the linux account? 사용자 이름과 암호를 당신의 리눅스 계정을주는가?

    2 2 Ross McKillop 로스 mckillop 05.20.07 at 2:19 pm 05.20.07에서 오후 2시 19분

    Ferdinand, 페르디난드,

    Yes - sorry I should have included that - will update shortly. 예 - 미안 해요가 포함되어 있어야 - 즉시 업데이 트됩니다.

    3 3 Sven 05.23.07 at 4:05 am 스벤 05.23.07 4:05 있

    I have Ubuntu 7.04 running in Parallels Desktop. 나는 유례 우분투 7.04 바탕 화면에서 실행되고있습니다. Will it possible to access a shared folder from Mac OS X running on the same machine. 공유 폴더에 액세스하는 것인가부터 수있습니다 맥 운영 체제 x 동일한 컴퓨터에서 실행되고있습니다. I tried it but it didn’t work. 나는 그것을 시도했다 그러나 작동하지 않아요.

    4 4 Aamir 06.04.07 at 4:31 pm 06.04.07 아미르에서 오후 4시 31분

    I tried this, and cannot log in (from my windows machine) via my ubuntu username. 노력이, 그리고 로그인할 수없습니다 (내 윈도우 머신)를 통해 내 우분투 사용자 이름을합니다. (which is “aamir”). (이것은 "아미르"). I can see the PC in “My Network Places”. 나는을 볼 수있습니다 가능 재고 "내 네트워크 환경".

    Please assist! 도와주세요!

    5 5 Brian 06.06.07 at 10:02 am 06.06.07 브라이언은 오전 10시 2분

    I tried the same approach as the one listed here but, under OS X (10.3.9), after I enter the Ubuntu admin username and password I get an error which says Can not connect as the username or password is incorrect. 나는 동일한 접근 방식을 시도 하나가 여기에 표시하지만, 아래 운영 체제 × (10.3.9), 우분투 관리자의 사용자 이름과 비밀 번호를 입력하고 나서 좀로 연결할 수 없다는 오류가있는 사용자 이름이나 비밀 번호가 올바르지 않습니다.

    I have attempted to connect from Ubuntu to the mac and that way works but not from the mac to Ubuntu. 나는 우분투을 맥에서 연결을 시도하고 그런식으로 작동하지만 맥을 우분투 출신이 아니합니다. Any ideas? 어떤 아이디어?

    6 6 soup 06.12.07 at 10:23 am 수프 06.12.07 10:23 있

    To connect to your shared Linux folder on a Windows machine, enter sudo smbpasswd -a (username) in terminal and set your SMB password. 자신의 공유 폴더를 리눅스에 연결하려면 윈도우 머신을 입력 - sudo smbpasswd (사용자 이름)의 터미널과 smb 비밀 번호를 설정하십시오.

    7 7 Tuomas tuomas 06.20.07 at 3:37 am 06.20.07에서 오전 3시 37분

    Hi 안녕

    It seems that you also need to add a samba user : 또한 필요에 추가하는 것으로 보인다 삼바 사용자 :

    sudo smbpasswd -a usernamen sudo smbpasswd - usernamen

    After that started to work with my installation 그 후 내 설치를 작동을 시작

    8 8 utunbu 06.28.07 at 1:58 pm utunbu 06.28.07에서 오후 1시 58분

    Please include that we also need to add the user as a samba user using the command into the main article… I thought I had done something wrong until I scrolled down to see the comments 우리도 포함시키십시오를 추가할 필요가 삼바의 사용자로서 명령을 사용하여 사용자의 주요 기사로… 나는 또 잘못을 저질 렀다고 생각했다 스크롤로 볼 때까지는 코멘트

    Thanks for the article. 이 문서 주셔서 감사합니다.

    9 9 Lee Farris 07.08.07 at 10:29 am 이승엽은 오전 10시 29분 패리스 07.08.07

    Excellent support article here. 우수한 지원 기사는 여기에있습니다. I have only been using Ubunta for couple of days and I love it. 나는 이틀 밖에되지를 ubunta를 사용하여 그 일을 사랑한다. My feelings for Windows XP and Vista are moving more and more towards Ubunta. 내 감정은 용 보안 비스타는 점점 더 많은쪽으로 이동 ubunta합니다.

    Thank you for your help. 당신의 도움을 주셔서 감사합니다.

    Lee Farris 이승엽 패리스

    10 10 John 08.01.07 at 7:54 pm 08.01.07에서 오후 7시 54분

    yeah… another one that was stumped until the comments about adding the samba password… 예… 또 하나를 추가에 대한 의견이 난처한 상황에 빠진 삼바 비밀 번호를 전까지는…

    now it works great! 이제 효과가 최고입니다!

    11 11 Peter 09.21.07 at 10:46 pm 피터 09.21.07에서 오후 10시 46분

    Great article, although you’re missing half the equation. 좋은 기사지만 절반의 기회를 놓치게 방정식합니다. You need to add a user as several people have mentioned before you’re tutorial can work. 을 추가할 필요가있는 사용자를 언급하기 전에, 몇몇의 사람들은 당신이 개별지도 일할 수있습니다. (and a possible samba restart? - I just did it just in case) (그리고 공중 삼바를 다시 시작? - 방금 단지의 경우)

    sudo /etc/init.d/samba restart sudo / 비고 / init.d / 삼바를 다시 시작

    12 12 Ross McKillop 로스 mckillop 09.21.07 at 10:56 pm 09.21.07에서 오후 10시 56분

    Peter - yeah I really do have to update this. 피터 - 예 정말이지가 업데이 트합니다. The samba user step I forgot as it had already been created. 삼바 사용자가 이미 만들어진대로 단계를 잊었합니다. Thanks! 감사합니다!

    13 13 descent 10.20.07 at 4:13 am 10.20.07 하강은 오전 4시 13분

    And what should i do if i want Windows users to connect to my shared files without entering any password? 그리고 윈도우 유저 원하는 경우 어떻게해야합니까 나는 내 공유 파일에 연결하려면 비밀 번호를 입력하지 않고?

    14 14 Donald 11.08.07 at 5:20 am 오전 5시 20분에서 도널드 11.08.07

    Thanks for the guide- I’ve been trying to work out if it is possible to share files in Ubuntu all morning and finally found this page. 감사합니다 안내서 - 봤는데 해결하려의 경우 파일을 공유하는 것이 가능 우분투의 모든 아침, 마지막으로이 페이지를 발견합니다.

    I right clicked on a file on this computer and installed both services, then chose SMB because NFS asked me about IP addresses, network name which I don’t know off hand. 나는이 컴퓨터에있는 파일에 오른쪽 클릭하고 설치 둘 다 서비스, 다음 주소에 대해 부탁을 선택한 nfs smb 때문에, 네트워크 이름을 따로 손을 잘 모르겠합니다.

    My other computer asked me for a password for MSHOME but did not recognise my Ubuntu password. 내 다른 컴퓨터의 비밀 번호를 물어 내 우분투 비밀 번호를 인식 mshome 않았다.

    Tried sudo smbpasswd -a usernamen as above with no success. smbpasswd - usernamen 위와 같이 sudo 시도가없는 성공을합니다.

    Then went through the same process on my other computer and found I could access the shared folder with no problem from this computer. 같은 과정을 겪었을 내 다른 컴퓨터와 공유 폴더를 찾았에 액세스 할 수없는 문제가이 컴퓨터에서합니다.

    I checked permissions/folder access on the shared folders on both computers and found one set to ‘access files’ and the other to ‘none’. 사용 권한을 체크 / 폴더의 공유 폴더에 대한 액세스 권한을 두 컴퓨터가 모두 한 세트를 발견을 '액세스'파일 '과 다른가'없음 '. (These were the default settings- don’t know why they were different.) (기본 설정 - 이들은 그들이 서로 다른 이유를 모르겠어.)

    I was then able to see the shared folder on the other computer without being asked for a password. 전 다음의 공유 폴더를 볼 수없이 다른 컴퓨터에서 비밀 번호를 요구합니다.

    Under what circumstances is it necessary to set up a samba password? 어떤 상황 하에서 삼바 비밀 번호를 설정하는 데 필요한입니까?

    I think file sharing in both directions is working now, even though I haven’t gone through the password process on this computer. 양방향으로 파일을 공유에 대한 생각이 작동 지금, 비록 다른 사람의 비밀 번호 과정을 통과하지 않은이 컴퓨터에있습니다.

    If possible could you include an idiots guide as to the relative merits of SMB and NFS (and indeed, what they are). 바보 안내서 가능한 경우를 포함시킬 수의 상대적 장점과 smb nfs (그리고 실제로, 그들의 주장은).

    Is there any reason to use NFS when SMB seems to be far easier to set up? 어떤 이유가 있습니까 nfs를 사용하면 훨씬 쉽게 smb을 설정하는 것 같아요?

    Again, many thanks! 또, 많은 감사합니다!

    15 15 salvatore 11.11.07 at 6:35 pm 11.11.07 살바토레에서 오후 6시 35분

    While I should have known better, the ’smbpasswd’ step had me stumped. 하는 동안 더 잘 알았어야했는데, 'smbpasswd'단계 난처한 상황에 빠진 날 갖고있습니다. Thanks for the kick in the right direction. 올바른 방향으로의 킥 주셔서 감사합니다.

    16 16 chris 11.12.07 at 10:14 am 크리스 11.12.07에서 오전 10시 14분

    how do you connect to your shared folder ? 공유 폴더를 연결하려면 어떻게?

    17 17 Kenster 11.14.07 at 5:06 pm kenster 11.14.07에서 오후 5시 6분

    How do you setup a shared folder that allows anonomous windows users. 설치 프로그램을 어떻게 공유 폴더에 윈도우 유저 수있는 anonomous합니다. I would like to create an “In Box” folder and share it to my entire network so users can grab files from it or place files in it. 을 만들겠습니다 "를 상자에"폴더와 공유 그것을 내 전체 네트워크를 그래서 그것과 장소에서 파일을 사용자가 파일을 잡고 그것합니다.

    In a network of hundreds of users putting a username and password for each user will not work. 퍼팅의 네트워크에 사용자 이름과 비밀 번호를 수백명의 각 사용자에 대해 사용자가 작동하지 않습니다.

    18 18 ln 11.18.07 at 1:50 am 11.18.07 전에서 오전 1시 50분

    same here: 동일한 위치 :

    sudo smbpasswd -a usernamen sudo smbpasswd - usernamen

    fixed it for me, wasted a couple of hours today trying to get it working 고정 할 수 있도록 도와 오늘 몇 시간을 낭비하고있다는가 작동시켜 보려고

    thanks! 감사합니다!

    19 19 reincarnut 11.28.07 at 9:11 am 오전 9시 11분에서 reincarnut 11.28.07

    gosh, i went through the smbpasswd thingy too. 아이고, 난 나니 너무 smbpasswd을 관통했다.

    and as a newbie, it took me 3 days befor i found this page… dang! 초보자로서, 많은 시간이 걸렸어 3 일 befor이 페이지를 찾았… 우쒸!

    thanks a ton, soup on Jun 12, 2007 대단히 감사합니다, 수프를 2007년 6월 12일

    :-)

    20 20 benhur 03.25.08 at 8:14 pm benhur 03.25.08에서 오후 8시 14분

    thanks a lot! 대단히 감사합니다! this worked for me! 이 일한주세요!

    21 21 peter 06.11.08 at 11:39 pm 피터 06.11.08에서 오후 11시 39분

    when i try to let ubuntu install the services for the first time, i get no choice regarding the protocols. 우분투의 서비스를 설치하려 할 때 어디를 처음으로, 이해의 프로토콜에 대해 선택의 여지가있습니다. hardy just installs samba, but not nfs…what’s wrong here? 하디 단지 삼바를 설치지만… 뭐가 잘못 nfs 있나요?

    22 22 James 06.12.08 at 3:29 pm 제임스 06.12.08에서 오후 3시 29분

    I’m running two computers with Ubuntu and I tried all of this and I still don’t see anything when I go to Places–> Network. 우분투 나와 두 대의 컴퓨터를 실행하고 노력하면 이러한 모든 것들을 아직도 장소로 이동할 때 아무것도 없지 않습니까? -> 네트워크합니다. Do I need to change settings on my router? 설정을 변경하려면 내 라우터가 필요합니까?

    23 23 stanley82 06.21.08 at 7:31 am 오전 7시 31분에서 stanley82 06.21.08

    Well hardy heron ubuntu I did most of the above including the smbpasswd stuff. 잘 하디 위의 대부분의 헤론 우분투 난 물건을 포함하여 smbpasswd합니다. The process was similar but not exact. 이 과정은 비슷하지만 정확한없습니다. On my simple Xubuntu machine sharing right click sharing is not an option. 내 간단한 xubuntu 컴퓨터를 공유하는 옵션은 마우스 오른쪽 버튼으로 클릭을 공유합니다. On win98 net neighbourhood there is no singn of Ubuntu. 이웃이없습니다 singn의 win98 순수한에 우분투합니다. Any suggestions? 어떤 제안? Ian 이안

    24 24 Matt 06.21.08 at 10:37 pm 06.21.08 매트에서 오후 10시 37분

    I get

    ‘net usershare’ returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. '순수한 usershare'오류를 냈습니다 255 : 순수한 usershare : usershare 디렉토리를 열 수없습니다 / 변수 / lib / 삼바 / usershares합니다. Error Permission denied 오류 사용 권한이 거부되었습니다
    You do not have permission to create a usershare. usershare을 만들 수있는 권한이없습니다. Ask your administrator to grant you permissions to create a share. 귀하의 관리자 권한을 부여해 줄 것을 요청의 공유를 작성합니다.

    When I try to share the folder. 이 폴더를 공유하려고합니다.

    Thanks 감사합니다

    25 25 me too 나도 06.29.08 at 4:58 pm 06.29.08에서 오후 4시 58분

    I also get the error, 나 또한 생각의 오류,
    “net usrshare returned error 255″ when I try to create a shared folder in ubuntu Hardy heron. "네트 usrshare 오류를 반환 255"를 시도할 때 우분투 하디 헤론의 공유 폴더를 생성합니다.

    26 26 corq corq 07.08.08 at 12:51 pm 07.08.08에서 오후 12시 51분

    Thanks!!! 감사합니다! I have one lonely *nix machine on a windows domain - I appreciated this. 나는 1 개의 고독 유닉스 계열의 기계를 설치 도메인 - 나는 이것 감사합니다.

    27 27 Glenn 07.08.08 at 11:42 pm 07.08.08 글렌은 오후 11시 42분

    Something is missing from the instructions. 무언가가 나타나지의 지시합니다. Here is what I get: 다음은 내가 노력해서 :

    ‘net usershare’ returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. '순수한 usershare'오류를 냈습니다 255 : 순수한 usershare : usershare 디렉토리를 열 수없습니다 / 변수 / lib / 삼바 / usershares합니다. Error Permission denied 오류 사용 권한이 거부되었습니다
    You do not have permission to create a usershare. usershare을 만들 수있는 권한이없습니다. Ask your administrator to grant you permissions to create a share. 귀하의 관리자 권한을 부여해 줄 것을 요청의 공유를 작성합니다.

    28 28 Brad 07.18.08 at 6:00 pm 브래드 07.18.08 오후 6시

    I am also installing on hardy and running into this problem: 나는 또한 하디에 설치 및 실행을이 문제 :

    ‘net usershare’ returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. '순수한 usershare'오류를 냈습니다 255 : 순수한 usershare : usershare 디렉토리를 열 수없습니다 / 변수 / lib / 삼바 / usershares합니다. Error Permission denied 오류 사용 권한이 거부되었습니다
    You do not have permission to create a usershare. usershare을 만들 수있는 권한이없습니다. Ask your administrator to grant you permissions to create a share. 귀하의 관리자 권한을 부여해 줄 것을 요청의 공유를 작성합니다.

    any ideas there? 어떤 아이디어 있나요?

    29 29 Brad 07.18.08 at 6:19 pm 브래드 07.18.08에서 오후 6시 19분

    ok here is the hardy fix: 확인을 여기가 바로 하디 수정 :

    I selected to install samba (file server) when i installed hardy server edition-this is ok. 선택된를 설치하는 나는 삼바 (파일 서버)를 설치 때 하디 서버 버전 - 이것은 확인을합니다.

    when i got the desktop installed i tried to right click in nautilus (file explorer) and share the file and I got the previous error (net usershare 255). 설치에 도착했을 때 바탕 화면에서 마우스 오른쪽 버튼으로 클릭려고 노틸러스 (파일 탐색기)과 공유하는 파일을 찾았 이전 오류 (순수한 usershare 255).

    to fix it i went to system ->administration -> users and groups. 에 갔었를 해결하기 위해 시스템 -> 관리 -> 사용자와 그룹을합니다. then unlock (enter password) then manage groups. 다음 잠금을 해제 (비밀 번호)를 관리하는 그룹을합니다. choose sambashare then properties. sambashare 다음 등록 정보를 선택합니다. select your name hit ok, close, close. 당신의 이름을 선택 hit 확인, 닫기를 닫습니다.

    Then logout and log back in and then right click and try to share the directory. 다음에 다시 로그인과 로그아웃을 마우스 오른쪽 버튼으로 클릭하고 다시 다음의 디렉터리를 공유합니다.

    For some reason in hardy samba doesn’t add you to the sambashare group. 하디에 어떤 이유로 당신을 sambashare 삼바 그룹에 추가하지 않습니다.

    30 30 Adriaan 08.16.08 at 3:16 am 오전 3시 16분에서 adriaan 08.16.08

    I didn’t do any of that sambashare stuff! 그렇게하지 않을 sambashare 중 하나는 물건은! I just followed what Brad said and it worked for me. 단지 다음과 효과가 나를 위해 무엇 브래드 말했다.

    “to fix it i went to system ->administration -> users and groups. "를 고칠에 갔었 시스템 -> 관리 -> 사용자와 그룹을합니다. then unlock (enter password) then manage groups. 다음 잠금을 해제 (비밀 번호)를 관리하는 그룹을합니다. choose sambashare then properties. sambashare 다음 등록 정보를 선택합니다. select your name hit ok, close, close. 당신의 이름을 선택 hit 확인, 닫기를 닫습니다.

    Then logout and log back in and then right click and try to share the directory. 다음에 다시 로그인과 로그아웃을 마우스 오른쪽 버튼으로 클릭하고 다시 다음의 디렉터리를 공유합니다. "

    Thanks for the help. 도움을 주셔서 감사합니다. When I tried the first fix in the command line thing, it always said cannot modify password, so I gave up and tried Brad’s sollution, and voila, it worked! 첫 번째 수정하면 명령줄에서 보았습니다 것, 항상 비밀 번호를 변경할 수 없다는, 그래서 브래드가 sollution 노력을 포기하고, 그리고 짜잔, 그것은 작동했다!

    Leave a Comment 코멘트를 남겨주세요

    이메일

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 이러한 태그와 속성을 사용하실 수있습니다 : <a href="" title=""> <acronym title=""> <abbr title=""> <blockquote cite=""> <b> <cite> <code> 'datetime=""> <em> <i> <del <strike> <q cite="">