|
34.
|
|
|
<emphasis>create mask:</emphasis> determines the permissions new files will have when created.
|
|
|
|
<emphasis>create mask:</emphasis>는 새로운 파일이 생성되었을 때 가지게 될 파일 권한을 지정합니다.
|
|
Translated by
Seongho Choo
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
serverguide/C/windows-networking.xml:184(para)
|
|
35.
|
|
|
Now that <application>Samba</application> is configured, the directory needs to be created and the permissions changed. From a terminal enter:
|
|
|
|
이제 <application>삼바</application>가 구성되었으며, 디렉터리가 생성되고 권한이 수정되어야 합니다. 터미널에서 다음을 입력하세요:
|
|
Translated by
Seongho Choo
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
serverguide/C/windows-networking.xml:193(para)
|
|
36.
|
|
|
sudo mkdir -p /srv/samba/share
|
|
|
|
sudo mkdir -p /srv/samba/share
|
|
Translated by
Shin Hungjae
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
serverguide/C/windows-networking.xml:199(command)
|
|
37.
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
Translated by
Shin Hungjae
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
serverguide/C/windows-networking.xml:200(command)
|
|
38.
|
|
|
The <emphasis>-p</emphasis> switch tells mkdir to create the entire directory tree if it doesn't exist. Change the share name to fit your environment.
|
|
|
|
mkdir에서 <emphasis>-p</emphasis> 스위치는 디렉터리가 존재하지 않는다면 전체 디렉터리 트리를 생성하라는 것입니다. 당신의 환경에 맞게 공유명을 변경하세요.
|
|
Translated by
Seongho Choo
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
serverguide/C/windows-networking.xml:204(para)
|
|
39.
|
|
|
Finally, restart the <application>samba</application> services to enable the new configuration:
|
|
|
|
끝으로, 새 구성이 적용되도록 <application>삼바</application>서비스를 다시 시작하세요:
|
|
Translated by
Seongho Choo
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
serverguide/C/windows-networking.xml:213(para)
|
|
40.
|
|
|
sudo /etc/init.d/samba restart
|
|
|
|
sudo /etc/init.d/samba restart
|
|
Translated and reviewed by
atie
|
|
|
|
Located in
serverguide/C/windows-networking.xml:218(command) serverguide/C/windows-networking.xml:331(command) serverguide/C/windows-networking.xml:468(command) serverguide/C/windows-networking.xml:567(command) serverguide/C/windows-networking.xml:937(command) serverguide/C/windows-networking.xml:1047(command) serverguide/C/windows-networking.xml:1162(command) serverguide/C/network-auth.xml:1860(command)
|
|
41.
|
|
|
Once again, the above configuration gives all access to any client on the local network. For a more secure configuration see <xref linkend="samba-fileprint-security"/>.
|
|
|
|
다시 한 번, 위 설정은 지역 네트워크에 있는 어떤 클라이언트도 모든 접근이 허용됩니다. 더 강화된 보안 구성은 <xref linkend="samba-fileprint-security"/>을 보세요.
|
|
Translated by
Seongho Choo
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
serverguide/C/windows-networking.xml:226(para)
|
|
42.
|
|
|
From a Windows client you should now be able to browse to the Ubuntu file server and see the shared directory. To check that everything is working try creating a directory from Windows.
|
|
|
|
이제 윈도즈 클라이언트에서 우분투 파일 서버를 탐색할 수 있고 공유된 디렉터리를 볼 수 있습니다. 모든 것이 잘 되는 지 확인하려면 윈도즈에서 디렉터리를 생성해 보세요.
|
|
Translated by
Seongho Choo
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
serverguide/C/windows-networking.xml:232(para)
|
|
43.
|
|
|
To create additional shares simply create new <emphasis>[dir]</emphasis> sections in <filename>/etc/samba/smb.conf</filename>, and restart <emphasis>Samba</emphasis>. Just make sure that the directory you want to share actually exists and the permissions are correct.
|
|
|
|
공유를 추가 생성하려면 단순히 <filename>/etc/samba/smb.conf</filename>에 새로운 <emphasis>[dir]</emphasis> 절을 생성하고, <emphasis>삼바</emphasis>를 다시 시작하면 됩니다. 단, 공유하기 원하는 디렉터리가 실제로 존재하는 지와 파일 권한이 올바른 지를 확인하십시요.
|
|
Translated by
Seongho Choo
|
|
Reviewed by
Seongho Choo
|
|
|
|
Located in
serverguide/C/windows-networking.xml:237(para)
|